Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
add llama3.1 model
Marco Vinciguerra41ea3e0e2714
diff --git a/examples/local_models/smart_scraper_ollama.py b/examples/local_models/smart_scraper_ollama.pyindex c3d60559..8ac579e5 100644--- a/examples/local_models/smart_scraper_ollama.py+++ b/examples/local_models/smart_scraper_ollama.py@@ -9,7 +9,7 @@ from scrapegraphai.utils import prettify_exec_infograph_config = {"llm": {- "model": "ollama/llama3",+ "model": "ollama/llama3.1","temperature": 0,"format": "json", # Ollama needs the format to be specified explicitly# "base_url": "http://localhost:11434", # set ollama URL arbitrarilydiff --git a/scrapegraphai/helpers/models_tokens.py b/scrapegraphai/helpers/models_tokens.pyindex b3d61065..0724ee95 100644--- a/scrapegraphai/helpers/models_tokens.py+++ b/scrapegraphai/helpers/models_tokens.py@@ -51,6 +51,10 @@ models_tokens = {"falcon": 2048,"llama2": 4096,"llama3": 8192,+ "llama3:70b": 8192,+ "llama3.1":128000,+ "llama3.1:70b": 128000,+ "lama3.1:405b": 128000,"scrapegraph": 8192,"llava": 4096,"mixtral:8x22b-instruct": 65536,