Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinxc authored Dec 19, 2023
1 parent 0197308 commit 19a4332
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions examples/python/ml/flax_llama7b/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,28 +33,6 @@ This example demonstrates how to use SPU to run secure inference on a pre-traine
parser.add_argument("--streaming", action="store_true", default=False, help="whether is model weight saved stream format",)
```

Since EasyLM have an issue,so we have to make a samll change to support the option "streaming=false".
Open and edit "convert_hf_to_easylm.py", chang this:

```python
parser.add_argument("--streaming", action="store_true", default=True, help="whether is model weight saved stream format",)
```

to:

```python
parser.add_argument("--streaming", action="store_true", default=False, help="whether is model weight saved stream format",)
```

Since EasyLM have an issue,so we have to make a samll change to support the option "streaming=false".
Open and edit "convert_hf_to_easylm.py", chang this:
```python
parser.add_argument("--streaming", action="store_true", default=True, help="whether is model weight saved stream format",)
```
to:
```python
parser.add_argument("--streaming", action="store_true", default=False, help="whether is model weight saved stream format",)
```
Download trained LLaMA-B[PyTroch-Version] from [Hugging Face](https://huggingface.co/openlm-research/open_llama_7b)
, and convert it to Flax.msgpack as:
```sh
Expand Down

0 comments on commit 19a4332

Please sign in to comment.