informatica:inteligencia_artificial:falcon
Differences
This shows you the differences between two versions of the page.
| informatica:inteligencia_artificial:falcon [2023/10/23 18:48] – created jose | informatica:inteligencia_artificial:falcon [2023/10/23 20:11] (current) – jose | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| pip install torch --no-cache-dir | pip install torch --no-cache-dir | ||
| pip install accelerate | pip install accelerate | ||
| pip install transformers | pip install transformers | ||
| - | La B de model es en mayúscula, en la web la pone en minúscula: https:// | ||
| < | < | ||
| from transformers import AutoTokenizer, | from transformers import AutoTokenizer, | ||
| Line 10: | Line 9: | ||
| import torch | import torch | ||
| - | model = " | + | model = " |
| tokenizer = AutoTokenizer.from_pretrained(model) | tokenizer = AutoTokenizer.from_pretrained(model) | ||
| Line 31: | Line 30: | ||
| print(f" | print(f" | ||
| </ | </ | ||
| + | |||
| + | ====== Falcon 180B ====== | ||
| + | https:// | ||
| + | |||
| + | Hay que logarse para poder usarlo. L< b del model tiene que ser mayúsucla. | ||
| + | |||
informatica/inteligencia_artificial/falcon.1698086880.txt.gz · Last modified: by jose
