ArtifactAI commited on
Commit
d7144de
·
1 Parent(s): 28bb2d0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -12
README.md CHANGED
@@ -28,8 +28,6 @@ Find below some example scripts on how to use the model in `transformers`:
28
 
29
  ### Running the model on a CPU
30
 
31
- <details>
32
- <summary> Click to expand </summary>
33
 
34
  ```python
35
 
@@ -45,12 +43,8 @@ outputs = model.generate(input_ids)
45
  print(tokenizer.decode(outputs[0]))
46
  ```
47
 
48
- </details>
49
-
50
  ### Running the model on a GPU
51
 
52
- <details>
53
- <summary> Click to expand </summary>
54
 
55
  ```python
56
  # pip install accelerate
@@ -66,14 +60,10 @@ outputs = model.generate(input_ids)
66
  print(tokenizer.decode(outputs[0]))
67
  ```
68
 
69
- </details>
70
-
71
  ### Running the model in an HF pipeline
72
 
73
  #### FP16
74
 
75
- <details>
76
- <summary> Click to expand </summary>
77
 
78
  ```python
79
  # load model and tokenizer from huggingface hub with pipeline
@@ -88,8 +78,6 @@ print(f"{res[0]['summary_text']}")
88
 
89
  ```
90
 
91
- </details>
92
-
93
 
94
  # Training Details
95
 
 
28
 
29
  ### Running the model on a CPU
30
 
 
 
31
 
32
  ```python
33
 
 
43
  print(tokenizer.decode(outputs[0]))
44
  ```
45
 
 
 
46
  ### Running the model on a GPU
47
 
 
 
48
 
49
  ```python
50
  # pip install accelerate
 
60
  print(tokenizer.decode(outputs[0]))
61
  ```
62
 
 
 
63
  ### Running the model in an HF pipeline
64
 
65
  #### FP16
66
 
 
 
67
 
68
  ```python
69
  # load model and tokenizer from huggingface hub with pipeline
 
78
 
79
  ```
80
 
 
 
81
 
82
  # Training Details
83