tobischimanski commited on
Commit
c95c96a
·
1 Parent(s): 79063e7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -32,7 +32,7 @@ tokenizer = AutoTokenizer.from_pretrained(tokenizer_name, max_len=512)
32
  pipe = pipeline("text-classification", model=model, tokenizer=tokenizer) # set device=0 to use GPU
33
 
34
  # See https://huggingface.co/docs/transformers/main_classes/pipelines#transformers.pipeline
35
- print(pipe("An ethical code has been issued to all Group employees."))
36
  ```
37
 
38
  ## More details can be found in the paper
 
32
  pipe = pipeline("text-classification", model=model, tokenizer=tokenizer) # set device=0 to use GPU
33
 
34
  # See https://huggingface.co/docs/transformers/main_classes/pipelines#transformers.pipeline
35
+ print(pipe("An ethical code has been issued to all Group employees."), padding=True, truncation=True)
36
  ```
37
 
38
  ## More details can be found in the paper