euiyulsong
commited on
Commit
•
c5043ea
1
Parent(s):
acfe698
Update README.md
Browse files
README.md
CHANGED
@@ -1,12 +1,15 @@
|
|
1 |
---
|
2 |
language: en
|
3 |
-
thumbnail: https://www.huggingtweets.com/fidelity/1607118440881/predictions.png
|
4 |
tags:
|
5 |
-
-
|
6 |
-
widget:
|
7 |
-
- text: "My dream is"
|
8 |
---
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
<pre><code><span style="color:#03A9F4">from</span> transformers <span style="color:#03A9F4">import</span> AutoConfig, T5Tokenizer
|
11 |
<pre><code><span style="color:#03A9F4">from</span> fid <span style="color:#03A9F4">import</span> FiDT5
|
12 |
|
@@ -21,3 +24,5 @@ model = FiDT5.from_pretrained(
|
|
21 |
<span style="color:#FF9800">"xfact/FiD-NQ"</span>,
|
22 |
<span style="color:#ff0000">config</span>=config
|
23 |
)
|
|
|
|
|
|
1 |
---
|
2 |
language: en
|
|
|
3 |
tags:
|
4 |
+
- fid
|
|
|
|
|
5 |
---
|
6 |
|
7 |
+
![210333747-c001f1f0-8e3d-4f5c-ad32-4fdffdc6e17b.png](https://s3.amazonaws.com/moonup/production/uploads/1672830489959-63b52c0a889aa6707f07885b.png)
|
8 |
+
|
9 |
+
|
10 |
+
![Screenshot 2022-11-16 at 23.26.16.png](https://s3.amazonaws.com/moonup/production/uploads/1672830489933-63b52c0a889aa6707f07885b.png)
|
11 |
+
|
12 |
+
|
13 |
<pre><code><span style="color:#03A9F4">from</span> transformers <span style="color:#03A9F4">import</span> AutoConfig, T5Tokenizer
|
14 |
<pre><code><span style="color:#03A9F4">from</span> fid <span style="color:#03A9F4">import</span> FiDT5
|
15 |
|
|
|
24 |
<span style="color:#FF9800">"xfact/FiD-NQ"</span>,
|
25 |
<span style="color:#ff0000">config</span>=config
|
26 |
)
|
27 |
+
|
28 |
+
|