Instructions to use dfurman/Llama-2-70B-Instruct-v0.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use dfurman/Llama-2-70B-Instruct-v0.1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-70b-hf") model = PeftModel.from_pretrained(base_model, "dfurman/Llama-2-70B-Instruct-v0.1") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -40,21 +40,6 @@ Example 1:
|
|
| 40 |
|
| 41 |
Example 2:
|
| 42 |
|
| 43 |
-
**User**:
|
| 44 |
-
> You are a helpful assistant. Daniel is in need of a haircut. His barber works Mondays, Wednesdays, and Fridays. So, Daniel went in for a haircut on Sunday. Does this make logical sense? Respond only with a yes or no answer in as few words as possible.\n
|
| 45 |
-
|
| 46 |
-
**llama-2-70b-dolphin-peft**:
|
| 47 |
-
|
| 48 |
-
> No.
|
| 49 |
-
>
|
| 50 |
-
> Explanation: Daniel's barber is not available on Sundays, so he cannot get a haircut on that day. He should go on a day when the barber is working, such as Monday, Wednesday, or Friday.
|
| 51 |
-
>
|
| 52 |
-
> So, the answer is no, it does not make logical sense for Daniel to go for a haircut on Sunday. He should go on a day when the barber is available.
|
| 53 |
-
|
| 54 |
-
<br>
|
| 55 |
-
|
| 56 |
-
Example 3:
|
| 57 |
-
|
| 58 |
**User**:
|
| 59 |
|
| 60 |
> You are a helpful assistant. Write a short email inviting my friends to a dinner party on Friday. Respond succinctly.\n
|
|
@@ -76,7 +61,7 @@ Example 3:
|
|
| 76 |
|
| 77 |
<br>
|
| 78 |
|
| 79 |
-
Example
|
| 80 |
|
| 81 |
**User**:
|
| 82 |
|
|
|
|
| 40 |
|
| 41 |
Example 2:
|
| 42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
**User**:
|
| 44 |
|
| 45 |
> You are a helpful assistant. Write a short email inviting my friends to a dinner party on Friday. Respond succinctly.\n
|
|
|
|
| 61 |
|
| 62 |
<br>
|
| 63 |
|
| 64 |
+
Example 3:
|
| 65 |
|
| 66 |
**User**:
|
| 67 |
|