ariG23498 HF Staff commited on
Commit
2123eed
·
verified ·
1 Parent(s): ce8dc52

Upload nvidia_NVIDIA-Nemotron-3-Nano-30B-A3B-FP8_0.py with huggingface_hub

Browse files
nvidia_NVIDIA-Nemotron-3-Nano-30B-A3B-FP8_0.py CHANGED
@@ -23,7 +23,7 @@ try:
23
  # Use a pipeline as a high-level helper
24
  from transformers import pipeline
25
 
26
- pipe = pipeline("text-generation", model="nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-FP8")
27
  messages = [
28
  {"role": "user", "content": "Who are you?"},
29
  ]
@@ -45,7 +45,7 @@ except Exception as e:
45
  # Use a pipeline as a high-level helper
46
  from transformers import pipeline
47
 
48
- pipe = pipeline("text-generation", model="nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-FP8")
49
  messages = [
50
  {"role": "user", "content": "Who are you?"},
51
  ]
 
23
  # Use a pipeline as a high-level helper
24
  from transformers import pipeline
25
 
26
+ pipe = pipeline("text-generation", model="nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-FP8", trust_remote_code=True)
27
  messages = [
28
  {"role": "user", "content": "Who are you?"},
29
  ]
 
45
  # Use a pipeline as a high-level helper
46
  from transformers import pipeline
47
 
48
+ pipe = pipeline("text-generation", model="nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B-FP8", trust_remote_code=True)
49
  messages = [
50
  {"role": "user", "content": "Who are you?"},
51
  ]