Update README.md
Browse files
README.md
CHANGED
@@ -81,6 +81,9 @@ This model is intended for:
|
|
81 |
- Baseline for further model compression research
|
82 |
|
83 |
## How to Get Started with the Model
|
|
|
|
|
|
|
84 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, GenerationConfig
|
85 |
|
86 |
Configuration
|
@@ -114,6 +117,8 @@ outputs = model.generate(**inputs, generation_config=generation_config)
|
|
114 |
translation = tokenizer.decode(outputs, skip_special_tokens=True)
|
115 |
print(translation)
|
116 |
|
|
|
|
|
117 |
## Training Details
|
118 |
|
119 |
### Training Data
|
|
|
81 |
- Baseline for further model compression research
|
82 |
|
83 |
## How to Get Started with the Model
|
84 |
+
|
85 |
+
```python
|
86 |
+
|
87 |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, GenerationConfig
|
88 |
|
89 |
Configuration
|
|
|
117 |
translation = tokenizer.decode(outputs, skip_special_tokens=True)
|
118 |
print(translation)
|
119 |
|
120 |
+
```
|
121 |
+
|
122 |
## Training Details
|
123 |
|
124 |
### Training Data
|