typo fix
Browse files
README.md
CHANGED
|
@@ -49,7 +49,6 @@ input_text = "[SOS] FIELD SPIN 0 SU2 2 U1 1 FIELD SPIN 1 / 2 SU3 3 SU2 2 U1 1 /
|
|
| 49 |
4) Perform generation:
|
| 50 |
|
| 51 |
```python
|
| 52 |
-
input_text = "FIELD SPIN 0 SU2 2 U1 1 FIELD SPIN 1 / 2 SU3 3 SU2 2 U1 1 / 3 HEL - 1 / 2"
|
| 53 |
inputs = tokenizer(input_text, return_tensors="pt")
|
| 54 |
outputs = model.generate(inputs['input_ids'], max_length=2048)
|
| 55 |
decoded_outputs = tokenizer.batch_decode(outputs, skip_special_tokens=True)
|
|
|
|
| 49 |
4) Perform generation:
|
| 50 |
|
| 51 |
```python
|
|
|
|
| 52 |
inputs = tokenizer(input_text, return_tensors="pt")
|
| 53 |
outputs = model.generate(inputs['input_ids'], max_length=2048)
|
| 54 |
decoded_outputs = tokenizer.batch_decode(outputs, skip_special_tokens=True)
|