tobischimanski
commited on
Commit
•
7a541c4
1
Parent(s):
fd2b11e
Update README.md
Browse files
README.md
CHANGED
@@ -31,7 +31,7 @@ tokenizer = AutoTokenizer.from_pretrained(tokenizer_name, max_len=512)
|
|
31 |
pipe = pipeline("text-classification", model=model, tokenizer=tokenizer) # set device=0 to use GPU
|
32 |
|
33 |
# See https://huggingface.co/docs/transformers/main_classes/pipelines#transformers.pipeline
|
34 |
-
print(pipe("Scope 1 emissions are reported here on a like-for-like basis against the 2013 baseline and exclude emissions from additional vehicles used during repairs."
|
35 |
```
|
36 |
|
37 |
## More details can be found in the paper
|
|
|
31 |
pipe = pipeline("text-classification", model=model, tokenizer=tokenizer) # set device=0 to use GPU
|
32 |
|
33 |
# See https://huggingface.co/docs/transformers/main_classes/pipelines#transformers.pipeline
|
34 |
+
print(pipe("Scope 1 emissions are reported here on a like-for-like basis against the 2013 baseline and exclude emissions from additional vehicles used during repairs.", padding=True, truncation=True))
|
35 |
```
|
36 |
|
37 |
## More details can be found in the paper
|