Update README.md
Browse files
README.md
CHANGED
@@ -69,17 +69,7 @@ This model, named `Evolutionary Multi-Modal Model`, is a multimodal transformer
|
|
69 |
|
70 |
### Direct Use
|
71 |
```python
|
72 |
-
|
73 |
-
|
74 |
-
model = AutoModelForSeq2SeqLM.from_pretrained("zeroMN/SHMT")
|
75 |
-
tokenizer = AutoTokenizer.from_pretrained("zeroMN/SHMT")
|
76 |
-
|
77 |
-
input_text = "Tell me a joke."
|
78 |
-
inputs = tokenizer(input_text, return_tensors="pt")
|
79 |
-
outputs = model.generate(**inputs)
|
80 |
-
generated_text = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
81 |
-
|
82 |
-
print(generated_text)
|
83 |
```
|
84 |
### Downstream Use
|
85 |
|
|
|
69 |
|
70 |
### Direct Use
|
71 |
```python
|
72 |
+
git clone https://huggingface.co/zeroMN/SHMT.git
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
```
|
74 |
### Downstream Use
|
75 |
|