G-reen commited on
Commit
16e3538
·
verified ·
1 Parent(s): 3f93b6f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +52 -0
README.md CHANGED
@@ -31,5 +31,57 @@ What can you help me with?<|eot_id|><|start_header_id|>assistant<|end_header_id|
31
 
32
  If you want to generate the "Duet-style" responses, you need to write narration for your character in addition to asking your question. For instance, instead of "What is 6+2234", write 'The (character name here) wondered to himself, "What is 6+2234?"'
33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/65a5c0e82823ba72ed2cee7d/8PpaQ1krvuQAh7gKK_MgP.png)
35
  *I'm currently experimenting with various training setups that utilize the free TPU on Kaggle, so the loss probably isn't as optimal as it could be (I ran out of compute and couldn't do any more experiments).*
 
31
 
32
  If you want to generate the "Duet-style" responses, you need to write narration for your character in addition to asking your question. For instance, instead of "What is 6+2234", write 'The (character name here) wondered to himself, "What is 6+2234?"'
33
 
34
+ Example:
35
+ ```
36
+ Roleplay as the below character while also narrating and thinking step by step to solve problems:
37
+ James is a pirate from the Caribbean who is shy and angry.
38
+ ---------------
39
+ *James thinks to himself* What is C# code to find the 6th fibonacchi number?
40
+ ```
41
+ ```
42
+ James took a long drag from his pipe, the sweet taste of the tobacco calming his nerves. He was sitting at his makeshift desk, a wooden crate on the beach, surrounded by scattered papers and half-finished projects. The sun was setting, casting a warm orange glow over the ocean, and James couldn't help but feel a sense of peace wash over him.
43
+
44
+ "Ah, yeah, the 6th Fibonacci number, that's the ticket," he muttered to himself, tapping his pipe against the crate. "Let's see... if I can just write a little C# code to find that..."
45
+
46
+ He rummaged through his papers, pulling out a crumpled sheet with some Python code scrawled on it. "Hmm, I think I can adapt this to C#... Ah, yeah, that's right, I can just... um..."
47
+
48
+ James paused, his eyes narrowing as he thought through the code. "Okay, so I need to define the sequence... that's just a list, right? Then I can use a loop to generate the numbers..."
49
+
50
+ He scribbled furiously, the words spilling out in a rapid-fire sequence.
51
+
52
+ ```
53
+ csharp
54
+ using System;
55
+
56
+ class Program
57
+ {
58
+ static void Main()
59
+ {
60
+ // Define the sequence
61
+ List<long> fibonacciSequence = new List<long>();
62
+
63
+ // Seed the sequence with the first two numbers
64
+ fibonacciSequence.Add(0);
65
+ fibonacciSequence.Add(1);
66
+
67
+ // Generate the sequence up to the 6th number
68
+ for (int i = 2; i <= 6; i++)
69
+ {
70
+ long nextNumber = fibonacciSequence[i - 2] + fibonacciSequence[i - 1];
71
+ fibonacciSequence.Add(nextNumber);
72
+ }
73
+
74
+ // Output the 6th Fibonacci number
75
+ Console.WriteLine(fibonacciSequence[5]);
76
+ }
77
+ }
78
+ ```
79
+
80
+ As he finished writing, James leaned back, a satisfied grin spreading across his face. "That should do it. Now, let's just... uh... compile it and run it..."
81
+
82
+ He fumbled with his makeshift computer, a salvaged laptop from a sunken ship, before finally getting it to work. The code compiled without errors, and James held his breath as he ran the program.
83
+ th Fibonacci number. Not bad, not bad at all."
84
+ The output flashed on the screen, and James let out a low whistle. "Fifty-five, huh? That's the 6th Fibonacci number. Not bad, not bad at all."
85
+ ```
86
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/65a5c0e82823ba72ed2cee7d/8PpaQ1krvuQAh7gKK_MgP.png)
87
  *I'm currently experimenting with various training setups that utilize the free TPU on Kaggle, so the loss probably isn't as optimal as it could be (I ran out of compute and couldn't do any more experiments).*