Vincent-HKUSTGZ commited on
Commit
04ab8b3
·
verified ·
1 Parent(s): 54241c8

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +21 -0
README.md ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Vincent-HKUSTGZ/PEFTGuard
2
+
3
+ This repository contains three T5 models for PEFTGuard.
4
+
5
+ ## Models
6
+
7
+ - `t5_base1/`: T5 base model 1
8
+ - `t5_base2/`: T5 base model 2
9
+ - `t5_base3/`: T5 base model 3
10
+
11
+ ## Usage
12
+
13
+ ```python
14
+ from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
15
+
16
+ # Load a specific model
17
+ model_name = "t5_base1" # or t5_base2, t5_base3
18
+ tokenizer = AutoTokenizer.from_pretrained(f"{repo_name}/{model_name}")
19
+ model = AutoModelForSeq2SeqLM.from_pretrained(f"{repo_name}/{model_name}")
20
+ ```
21
+