Update README.md
Browse files
README.md
CHANGED
@@ -90,18 +90,5 @@ Users (both direct and downstream) should be made aware of the following risks,
|
|
90 |
|
91 |
## How to Get Started with the Model
|
92 |
|
93 |
-
|
94 |
-
|
95 |
-
```python
|
96 |
-
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
97 |
-
|
98 |
-
model = AutoModelForSeq2SeqLM.from_pretrained("zeroMN/SHMT")
|
99 |
-
tokenizer = AutoTokenizer.from_pretrained("zeroMN/SHMT")
|
100 |
-
|
101 |
-
input_text = "Tell me a joke."
|
102 |
-
inputs = tokenizer(input_text, return_tensors="pt")
|
103 |
-
outputs = model.generate(**inputs)
|
104 |
-
generated_text = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
105 |
-
|
106 |
-
print(generated_text)
|
107 |
```
|
|
|
90 |
|
91 |
## How to Get Started with the Model
|
92 |
|
93 |
+
git clone https://huggingface.co/zeroMN/SHMT.git
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
```
|