Transformers
Merge
mergekit
lazymergekit
NousResearch/Llama-2-13b-hf
FinGPT/fingpt-sentiment_llama2-13b_lora
Instructions to use SirWumpus/FinMA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SirWumpus/FinMA with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SirWumpus/FinMA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Create config.json
Browse files- config.json +16 -0
config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
slices:
|
| 2 |
+
- sources:
|
| 3 |
+
- model: NousResearch/Llama-2-13b-hf
|
| 4 |
+
layer_range: [0, 32]
|
| 5 |
+
- model: FinGPT/fingpt-sentiment_llama2-13b_lora
|
| 6 |
+
layer_range: [0, 32]
|
| 7 |
+
merge_method: slerp
|
| 8 |
+
base_model: NousResearch/Llama-2-13b-hf
|
| 9 |
+
parameters:
|
| 10 |
+
t:
|
| 11 |
+
- filter: self_attn
|
| 12 |
+
value: [0, 0.5, 0.3, 0.7, 1]
|
| 13 |
+
- filter: mlp
|
| 14 |
+
value: [1, 0.5, 0.7, 0.3, 0]
|
| 15 |
+
- value: 0.5
|
| 16 |
+
dtype: bfloat16
|