Text Generation
Transformers
PyTorch
Safetensors
gpt2
conversational
text-generation-inference
Inference Endpoints
apsod commited on
Commit
923366c
1 Parent(s): c3238f1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -25,7 +25,7 @@ import torch
25
  from transformers import pipeline, AutoTokenizer, AutoModelForCausalLM
26
 
27
  # Initialize Variables
28
- model_name = "AI-Sweden-Models/gpt-sw3-356m"
29
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
30
  prompt = "Träd är fina för att"
31
 
 
25
  from transformers import pipeline, AutoTokenizer, AutoModelForCausalLM
26
 
27
  # Initialize Variables
28
+ model_name = "AI-Sweden-Models/gpt-sw3-356m-instruct"
29
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
30
  prompt = "Träd är fina för att"
31