psabharwal commited on
Commit
1c01129
1 Parent(s): 73c7e1d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -1
README.md CHANGED
@@ -1,3 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # TrustyAI Detoxify Causal Language Model
2
 
3
  ## Model Description
@@ -62,4 +77,4 @@ input_text = "You are a worthless piece of junk."
62
  inputs = tokenizer(input_text, return_tensors="pt")
63
  outputs = model.generate(**inputs)
64
  generated_text = tokenizer.decode(outputs[0])
65
- print(generated_text)
 
1
+ ---
2
+ license: apache-2.0
3
+ datasets:
4
+ - allenai/real-toxicity-prompts
5
+ language:
6
+ - en
7
+ metrics:
8
+ - accuracy
9
+ base_model: facebook/opt-350m
10
+ pipeline_tag: text-generation
11
+ library_name: transformers
12
+ tags:
13
+ - code
14
+ - medical
15
+ ---
16
  # TrustyAI Detoxify Causal Language Model
17
 
18
  ## Model Description
 
77
  inputs = tokenizer(input_text, return_tensors="pt")
78
  outputs = model.generate(**inputs)
79
  generated_text = tokenizer.decode(outputs[0])
80
+ print(generated_text)