Skip to content

solitude-alive/llm-fingerprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fingerprint for LLM

This repository is a simple implementation of fingerprint for LLM.

Code for paper A Fingerprint for Large Language Models

Usage

Run load_model.py directly.

The format of config.json in dir model is like:

[
  {
    "name": "gemma",
    "version": "2b",
    "new_version": "2b-1.1-it",
    "standard": "<path of the oracle model>",
    "path": {
      "dir": "<path of dir for fine-tuned model>",
      "sub": "results"
    },
    "dataset": ["samsum", "tatsu-lab"],
    "huggingface": true
  }
]

Requirements

torch
transformers
datasets
peft

About

A fingerprint for large language models.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages