Update README.md with new model card content
Browse files
README.md
CHANGED
@@ -1,17 +1,7 @@
|
|
1 |
---
|
2 |
library_name: keras-hub
|
3 |
-
license: llama3
|
4 |
-
language:
|
5 |
-
- en
|
6 |
-
tags:
|
7 |
-
- text-generation
|
8 |
-
- text-classification
|
9 |
-
- text-generation-inference
|
10 |
-
- text-to-text-generation
|
11 |
-
- text-conversation
|
12 |
-
pipeline_tag: text-generation
|
13 |
---
|
14 |
-
|
15 |
Llama 3 is a set of large language models published by Meta. Both pretrained and instruction tuned models are available, and range in size from 7 billion to 70 billion parameters. See the model card below for benchmarks, data sources, and intended use cases.
|
16 |
|
17 |
Weights are released under the [Llama 3 Community License](https://ai.meta.com/llama/license/). Keras model code is released under the [Apache 2 License](https://github.com/keras-team/keras-hub/blob/master/LICENSE).
|
@@ -62,7 +52,7 @@ For more details, please refer to this link: [Llama 3 Model Card & Prompt Format
|
|
62 |
|
63 |
Base models (without instruct in the name) have no specific prompting structure, and should usually be fine-tuned for a specific task.
|
64 |
|
65 |
-
|
66 |
```python
|
67 |
import keras
|
68 |
import keras_hub
|
@@ -203,4 +193,4 @@ llama_lm = keras_hub.models.Llama3CausalLM.from_preset(
|
|
203 |
dtype="bfloat16"
|
204 |
)
|
205 |
llama_lm.fit(x=x, y=y, sample_weight=sw, batch_size=2)
|
206 |
-
```
|
|
|
1 |
---
|
2 |
library_name: keras-hub
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
4 |
+
### Model Overview
|
5 |
Llama 3 is a set of large language models published by Meta. Both pretrained and instruction tuned models are available, and range in size from 7 billion to 70 billion parameters. See the model card below for benchmarks, data sources, and intended use cases.
|
6 |
|
7 |
Weights are released under the [Llama 3 Community License](https://ai.meta.com/llama/license/). Keras model code is released under the [Apache 2 License](https://github.com/keras-team/keras-hub/blob/master/LICENSE).
|
|
|
52 |
|
53 |
Base models (without instruct in the name) have no specific prompting structure, and should usually be fine-tuned for a specific task.
|
54 |
|
55 |
+
### Example Usage
|
56 |
```python
|
57 |
import keras
|
58 |
import keras_hub
|
|
|
193 |
dtype="bfloat16"
|
194 |
)
|
195 |
llama_lm.fit(x=x, y=y, sample_weight=sw, batch_size=2)
|
196 |
+
```
|