GIGGeorg commited on
Commit
29e64f4
·
verified ·
1 Parent(s): 93ee52e

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +0 -12
requirements.txt CHANGED
@@ -1,13 +1 @@
1
  transformers
2
- from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline, logging
3
- from huggingface_hub import notebook_login
4
- notebook_login()
5
- from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline, logging
6
-
7
- # Ignore warnings
8
- logging.set_verbosity(logging.CRITICAL)
9
-
10
- # Load the model and tokenizer with authentication token
11
- model_name = "King-Harry/NinjaMasker-PII-Redaction"
12
- tokenizer = AutoTokenizer.from_pretrained(model_name)
13
- model = AutoModelForCausalLM.from_pretrained(model_name)
 
1
  transformers