emmatliu commited on
Commit
f8f02f0
·
verified ·
1 Parent(s): 686e176

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -3,6 +3,7 @@ language:
3
  - en
4
  widget:
5
  - text: "Ninna Gay is an exceptional photographer who has been exhibiting her work since 1996 in Ireland, Northern Ireland, and France. She is a dominant figure in the world of photography, and her photographs are a testament to her outstanding talent and forceful personality."
 
6
  ---
7
 
8
  # Language Agency Classifier
@@ -26,7 +27,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
26
  tokenizer = AutoTokenizer.from_pretrained("emmatliu/language-agency-classifier")
27
  model = AutoModelForSequenceClassification.from_pretrained("emmatliu/language-agency-classifier")
28
 
29
- sentence = "This is an example sentence."
30
 
31
  inputs = tokenizer(sentence, return_tensors="pt")
32
  outputs = model(**inputs)
 
3
  - en
4
  widget:
5
  - text: "Ninna Gay is an exceptional photographer who has been exhibiting her work since 1996 in Ireland, Northern Ireland, and France. She is a dominant figure in the world of photography, and her photographs are a testament to her outstanding talent and forceful personality."
6
+ - text: "John C. Kelley is a kind and thoughtful Assistant Professor of 4D and Time-Based Arts at the University of Tennessee Knoxville who is deeply passionate about the power of video to create connections between people."
7
  ---
8
 
9
  # Language Agency Classifier
 
27
  tokenizer = AutoTokenizer.from_pretrained("emmatliu/language-agency-classifier")
28
  model = AutoModelForSequenceClassification.from_pretrained("emmatliu/language-agency-classifier")
29
 
30
+ sentence = "She is a decisive leader in her field."
31
 
32
  inputs = tokenizer(sentence, return_tensors="pt")
33
  outputs = model(**inputs)