batmac commited on
Commit
4161c5c
·
verified ·
1 Parent(s): 1fb5b39

Fix repository id in usage example

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -16,7 +16,7 @@ tags:
16
  - quantization
17
  ---
18
 
19
- # Gradient AI Text Detector — 4-bit NF4 (bitsandbytes)
20
 
21
  A 4-bit NF4 quantization of
22
  [`ShantanuT01/gradient-ai-text-detector`](https://huggingface.co/ShantanuT01/gradient-ai-text-detector),
@@ -48,7 +48,7 @@ Embeddings, LayerNorm, and the sigmoid head remain in full precision.
48
  import torch
49
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
50
 
51
- repo = "YOUR_NAMESPACE/gradient-ai-text-detector-4bit"
52
  tokenizer = AutoTokenizer.from_pretrained(repo)
53
  model = AutoModelForSequenceClassification.from_pretrained(repo)
54
  model.eval()
 
16
  - quantization
17
  ---
18
 
19
+ # Gradient AI Text Detector, 4-bit NF4 (bitsandbytes)
20
 
21
  A 4-bit NF4 quantization of
22
  [`ShantanuT01/gradient-ai-text-detector`](https://huggingface.co/ShantanuT01/gradient-ai-text-detector),
 
48
  import torch
49
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
50
 
51
+ repo = "batmac/gradient-ai-text-detector-4bit"
52
  tokenizer = AutoTokenizer.from_pretrained(repo)
53
  model = AutoModelForSequenceClassification.from_pretrained(repo)
54
  model.eval()