Cyrile commited on
Commit
cbd4009
1 Parent(s): d770fea

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -0
README.md CHANGED
@@ -42,4 +42,26 @@ result
42
  0.1440986692905426,
43
  0.09773541986942291,
44
  0.07838203758001328]}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  ```
 
42
  0.1440986692905426,
43
  0.09773541986942291,
44
  0.07838203758001328]}
45
+
46
+ # Resilience in cross-language French/English context
47
+ result = classifier (
48
+ sequences="Quentin Tarantino's very cinephile style is "
49
+ "recognized, among other things, by his postmodern and "
50
+ "non-linear narration, his elaborate dialogues often "
51
+ "peppered with references to popular culture, and his "
52
+ "highly aesthetic but extremely violent scenes, inspired by "
53
+ "exploitation films, martial arts or spaghetti western.",
54
+ candidate_labels="cinéma, technologie, littérature, politique",
55
+ hypothesis_template="Ce texte parle de {}."
56
+ )
57
+
58
+ result
59
+ {"labels": ["cinéma",
60
+ "littérature",
61
+ "technologie",
62
+ "politique"],
63
+ "scores": [0.6970456838607788,
64
+ 0.17720822989940643,
65
+ 0.06449680775403976,
66
+ 0.0612492673099041]}
67
  ```