Update README.md
Browse files
README.md
CHANGED
@@ -25,7 +25,7 @@ For more details about the model, data, training procedure, and evaluations, go
|
|
25 |
|
26 |
Sample inference script.
|
27 |
|
28 |
-
###Installation
|
29 |
```
|
30 |
#Install Unsloth
|
31 |
%%capture
|
@@ -42,7 +42,7 @@ else:
|
|
42 |
pass
|
43 |
```
|
44 |
|
45 |
-
###Model loading
|
46 |
```
|
47 |
from unsloth import FastLanguageModel
|
48 |
import torch
|
@@ -68,7 +68,7 @@ alpaca_prompt = """Below is an instruction that describes a task, paired with an
|
|
68 |
### Response:
|
69 |
{}"""
|
70 |
```
|
71 |
-
###Inference
|
72 |
```
|
73 |
FastLanguageModel.for_inference(model)
|
74 |
inputs = tokenizer(
|
|
|
25 |
|
26 |
Sample inference script.
|
27 |
|
28 |
+
### Installation
|
29 |
```
|
30 |
#Install Unsloth
|
31 |
%%capture
|
|
|
42 |
pass
|
43 |
```
|
44 |
|
45 |
+
### Model loading
|
46 |
```
|
47 |
from unsloth import FastLanguageModel
|
48 |
import torch
|
|
|
68 |
### Response:
|
69 |
{}"""
|
70 |
```
|
71 |
+
### Inference
|
72 |
```
|
73 |
FastLanguageModel.for_inference(model)
|
74 |
inputs = tokenizer(
|