Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: Locutusque/Hyperion-3.0-Mistral-7B-DPO
|
3 |
+
datasets:
|
4 |
+
- Locutusque/hyperion-dpo-v1.0
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
library_name: transformers
|
8 |
+
license: apache-2.0
|
9 |
+
tags:
|
10 |
+
- llama-cpp
|
11 |
+
- gguf-my-repo
|
12 |
+
widget:
|
13 |
+
- example_title: Reasoning
|
14 |
+
text: '<|im_start|>system
|
15 |
+
|
16 |
+
You are Hyperion, an AI assistant developed by Sebastian Gabarain with a focus
|
17 |
+
in reasoning, coding, science, and other general-purpose subjects. You are an
|
18 |
+
AI assistant that follows instruction extremely well. Help as much as you can.
|
19 |
+
|
20 |
+
<|im_end|>
|
21 |
+
|
22 |
+
<|im_start|>user
|
23 |
+
|
24 |
+
In this task, you are given a description of an object and its surroundings. Your
|
25 |
+
|
26 |
+
task is to describe the motion of the object mentioned in the description using
|
27 |
+
|
28 |
+
differential equations. The answer should be a mathematical expression in t. Description:
|
29 |
+
|
30 |
+
A ball is thrown up at 30 ft/sec from 3 feet off the ground. Solve this step-by-step,
|
31 |
+
|
32 |
+
explaining each step in detail.
|
33 |
+
|
34 |
+
<|im_end|>
|
35 |
+
|
36 |
+
<|im_start|>assistant
|
37 |
+
|
38 |
+
'
|
39 |
+
output:
|
40 |
+
text: "Hyperion here. The task requires you to describe the motion of a ball thrown\
|
41 |
+
\ up using differential equations. Here's the detailed explanation of how to\
|
42 |
+
\ solve it:\n\n1. Identify the given information:\n - Initial velocity (v0):\
|
43 |
+
\ 30 ft/sec\n - Initial height (y0): 3 feet off the ground\n\n2. Determine\
|
44 |
+
\ the acceleration due to gravity (g) at sea level, which is approximately -32.2\
|
45 |
+
\ ft/s^2. Since we're dealing with a short distance and not very high altitudes,\
|
46 |
+
\ we can consider this value of g as constant.\n\n3. Use Newton's second law\
|
47 |
+
\ of motion to find the differential equation that describes the motion:\n \
|
48 |
+
\ - The net force acting on the ball is the sum of gravity (mg) and air resistance\
|
49 |
+
\ (which we will neglect for simplicity). So, Fnet = mg.\n - Since acceleration\
|
50 |
+
\ equals force divided by mass, a = Fnet/m. In this case, m cancels out, so\
|
51 |
+
\ a = g.\n - The motion equation becomes: dv/dt = g = -32.2 ft/s^2 (since\
|
52 |
+
\ we're moving upwards). This is the first differential equation.\n\n4. Since\
|
53 |
+
\ we want to describe the ball's position (y) as well, we need another differential\
|
54 |
+
\ equation. We can use kinematics equations:\n - The velocity equation is\
|
55 |
+
\ v = v0 + at. Substitute the value of a from step 3:\n dv/dt = -32.2 ft/s^2.\
|
56 |
+
\ Rewriting it as an integral:\n ∫dv = -32.2 ft/s^2 * dt\n - Integrating\
|
57 |
+
\ with respect to time, we get v(t) = -16.1 t + C (constant of integration).\n\
|
58 |
+
\n5. Now we have two equations, one for velocity and another for position:\n\
|
59 |
+
\ - dv/dt = -32.2 ft/s^2 (equation 1)\n - v(t) = -16.1 t + C (equation 2)\n\
|
60 |
+
\n6. We need to find the constant C using the initial conditions given in the\
|
61 |
+
\ problem. We know that initially, at time t=0, the ball's velocity is v0:\n\
|
62 |
+
\ - Equation 2 becomes v0 = -16.1 * 0 + C, which simplifies to C = v0 = 30\
|
63 |
+
\ ft/sec (initial velocity).\n\n7. Now we have both equations with the constants\
|
64 |
+
\ filled in:\n - dv/dt = -32.2 ft/s^2 (equation 1)\n - v(t) = -16.1 t +\
|
65 |
+
\ 30 ft/sec (equation 2)\n\n8. Finally, we need to find the ball's position\
|
66 |
+
\ (y) as a function of time:\n - Use the second kinematics equation y = y0\
|
67 |
+
\ + v0*t + ½*a*t^2 (since acceleration is constant, it can be moved outside\
|
68 |
+
\ the integral).\n - Substitute the values for v0 and a:\n y(t) = 3 ft\
|
69 |
+
\ + (30 ft/sec) * t + (-½ * 32.2 ft/s^2) * t^2\n\nThat's it! The differential\
|
70 |
+
\ equation describing the motion of the ball is:\n - dv/dt = -32.2 ft/s^2\
|
71 |
+
\ (equation 1)\n - v(t) = -16.1 t + 30 ft/sec (equation 2)\n - y(t) = 3\
|
72 |
+
\ ft + (30 ft/sec) * t - (16.1 t^2) ft (equation 3)\n"
|
73 |
+
---
|
74 |
+
|
75 |
+
# ijohn07/Hyperion-3.0-Mistral-7B-DPO-Q8_0-GGUF
|
76 |
+
This model was converted to GGUF format from [`Locutusque/Hyperion-3.0-Mistral-7B-DPO`](https://huggingface.co/Locutusque/Hyperion-3.0-Mistral-7B-DPO) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
77 |
+
Refer to the [original model card](https://huggingface.co/Locutusque/Hyperion-3.0-Mistral-7B-DPO) for more details on the model.
|
78 |
+
|
79 |
+
## Use with llama.cpp
|
80 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
81 |
+
|
82 |
+
```bash
|
83 |
+
brew install llama.cpp
|
84 |
+
|
85 |
+
```
|
86 |
+
Invoke the llama.cpp server or the CLI.
|
87 |
+
|
88 |
+
### CLI:
|
89 |
+
```bash
|
90 |
+
llama-cli --hf-repo ijohn07/Hyperion-3.0-Mistral-7B-DPO-Q8_0-GGUF --hf-file hyperion-3.0-mistral-7b-dpo-q8_0.gguf -p "The meaning to life and the universe is"
|
91 |
+
```
|
92 |
+
|
93 |
+
### Server:
|
94 |
+
```bash
|
95 |
+
llama-server --hf-repo ijohn07/Hyperion-3.0-Mistral-7B-DPO-Q8_0-GGUF --hf-file hyperion-3.0-mistral-7b-dpo-q8_0.gguf -c 2048
|
96 |
+
```
|
97 |
+
|
98 |
+
Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo as well.
|
99 |
+
|
100 |
+
Step 1: Clone llama.cpp from GitHub.
|
101 |
+
```
|
102 |
+
git clone https://github.com/ggerganov/llama.cpp
|
103 |
+
```
|
104 |
+
|
105 |
+
Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
|
106 |
+
```
|
107 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
108 |
+
```
|
109 |
+
|
110 |
+
Step 3: Run inference through the main binary.
|
111 |
+
```
|
112 |
+
./llama-cli --hf-repo ijohn07/Hyperion-3.0-Mistral-7B-DPO-Q8_0-GGUF --hf-file hyperion-3.0-mistral-7b-dpo-q8_0.gguf -p "The meaning to life and the universe is"
|
113 |
+
```
|
114 |
+
or
|
115 |
+
```
|
116 |
+
./llama-server --hf-repo ijohn07/Hyperion-3.0-Mistral-7B-DPO-Q8_0-GGUF --hf-file hyperion-3.0-mistral-7b-dpo-q8_0.gguf -c 2048
|
117 |
+
```
|