MISHANM commited on
Commit
bff7744
·
verified ·
1 Parent(s): 5f42260

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -53,7 +53,7 @@ def generate_text(prompt, max_length=1000, temperature=0.9):
53
  messages = [
54
  {
55
  "role": "system",
56
- "content": " ",
57
  },
58
  {"role": "user", "content": prompt}
59
  ]
@@ -69,7 +69,7 @@ def generate_text(prompt, max_length=1000, temperature=0.9):
69
  return tokenizer.decode(output[0], skip_special_tokens=True)
70
 
71
  # Example usage
72
- prompt = """Give me a story in assamese language."""
73
  translated_text = generate_text(prompt)
74
  print(translated_text)
75
 
 
53
  messages = [
54
  {
55
  "role": "system",
56
+ "content": "You are a assamese language expert and linguist, with same knowledge give answers in assamese language. ",
57
  },
58
  {"role": "user", "content": prompt}
59
  ]
 
69
  return tokenizer.decode(output[0], skip_special_tokens=True)
70
 
71
  # Example usage
72
+ prompt = """Give me a story."""
73
  translated_text = generate_text(prompt)
74
  print(translated_text)
75