felixb85 commited on
Commit
6567cd9
1 Parent(s): 742ebee

Formatting

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -45,12 +45,12 @@ inputs = tokenizer_in([sample], return_tensors="pt")
45
  outputs = model.generate(**inputs)
46
 
47
  print(f"Gold answer: {gold_answer}")
48
- print(" " + tokenizer_out.decode(outputs[0], skip_special_tokens=True))
49
  ```
50
 
51
  ```
52
- Gold answer: SELECT ?obj WHERE { wd:Q42168 p:P1082 ?s . ?s ps:P1082 ?obj . ?s pq:P585 ?x filter(contains(YEAR(?x),'2013')) }
53
- SELECT?obj WHERE { wd:Q4754 p:P1082?s.?s ps:P1082?obj.?s pq:P585?x filter(contains(YEAR(?x),'2013')) }
54
  ```
55
 
56
  Common errors include:
 
45
  outputs = model.generate(**inputs)
46
 
47
  print(f"Gold answer: {gold_answer}")
48
+ print(" Model:" + tokenizer_out.decode(outputs[0], skip_special_tokens=True))
49
  ```
50
 
51
  ```
52
+ Gold answer: SELECT ?obj WHERE { wd:Q42168 p:P1082 ?s . ?s ps:P1082 ?obj . ?s pq:P585 ?x filter(contains(YEAR(?x),'2013'))
53
+ Model: SELECT?obj WHERE { wd:Q4754 p:P1082?s.?s ps:P1082?obj.?s pq:P585?x filter(contains(YEAR(?x),'2013')) }
54
  ```
55
 
56
  Common errors include: