luisespinosa commited on
Commit
77783f2
1 Parent(s): 7aa961e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -28,8 +28,8 @@ tokenizer = AutoTokenizer.from_pretrained(MODEL)
28
  mapping_link = f"https://raw.githubusercontent.com/cardiffnlp/tweeteval/main/datasets/{task}/mapping.txt"
29
  with urllib.request.urlopen(mapping_link) as f:
30
  html = f.read().decode('utf-8').split("\n")
31
- spamreader = csv.reader(html, delimiter='\t')
32
- labels = [row[1] for row in spamreader if len(row) > 1]
33
 
34
  # PT
35
  model = AutoModelForSequenceClassification.from_pretrained(MODEL)
 
28
  mapping_link = f"https://raw.githubusercontent.com/cardiffnlp/tweeteval/main/datasets/{task}/mapping.txt"
29
  with urllib.request.urlopen(mapping_link) as f:
30
  html = f.read().decode('utf-8').split("\n")
31
+ csvreader = csv.reader(html, delimiter='\t')
32
+ labels = [row[1] for row in csvreader if len(row) > 1]
33
 
34
  # PT
35
  model = AutoModelForSequenceClassification.from_pretrained(MODEL)