Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
83.4
TFLOPS
95
7
207
Tim Dolan
macadeliccc
Follow
collin5678's profile picture
Mamadou12345's profile picture
youngbin's profile picture
171 followers
·
34 following
tdolan21
tim-dolan-ml
AI & ML interests
None yet
Recent Activity
replied
to
their
post
16 days ago
Automated web scraping with playwright is becoming easier by the day. Now, using ollama tool calling, its possible to perform very high accuracy web scraping (in some cases 100% accurate) through just asking an LLM to scrape the content for you. This can be completed in a multistep process similar to cohere's platform. If you have tried the cohere playground with web scraping, this will feel very similar. In my experience, the Llama 3.1 version is much better due to the larger context window. Both tools are great, but the difference is the ollama + playwright version is completely controlled by you. All you need to do is wrap your scraper in a function: ``` async def query_web_scraper(url: str) -> dict: scraper = WebScraper(headless=False) return await scraper.query_page_content(url) ``` and then make your request: ``` # First API call: Send the query and function description to the model response = ollama.chat( model=model, messages=messages, tools=[ { 'type': 'function', 'function': { 'name': 'query_web_scraper', 'description': 'Scrapes the content of a web page and returns the structured JSON object with titles, articles, and associated links.', 'parameters': { 'type': 'object', 'properties': { 'url': { 'type': 'string', 'description': 'The URL of the web page to scrape.', }, }, 'required': ['url'], }, }, }, ] ) ``` To learn more: Github w/ Playground: https://github.com/tdolan21/tool-calling-playground/blob/main/notebooks/ollama-playwright-web-scraping.ipynb Complete Guide: https://medium.com/@tdolan21/building-an-llm-powered-web-scraper-with-ollama-and-playwright-6274d5d938b5
liked
a model
about 2 months ago
nm-testing/Devstral-Small-2505-FP8-dynamic
updated
a Space
about 2 months ago
macadeliccc/liquid_ai_chatbot
View all activity
Organizations
macadeliccc
's models
137
Sort: Recently updated
macadeliccc/AlphaHitchhiker-7B
Text Generation
•
7B
•
Updated
Jul 10
•
6
•
2
macadeliccc/efficient-splade-VI-BT-large-doc-onnx
Updated
Jul 1
•
3
macadeliccc/efficient-splade-VI-BT-large-query-onnx
Updated
Jul 1
•
3
macadeliccc/SOLAR-10.7B-Instruct-v1.0-laser
Text Generation
•
11B
•
Updated
May 5
•
5
•
2
macadeliccc/magistrate-3.2-3b-it-GGUF
Text Generation
•
3B
•
Updated
Oct 1, 2024
•
32
•
1
macadeliccc/magistrate-3.2-3b-it
Text Generation
•
3B
•
Updated
Oct 1, 2024
•
7
macadeliccc/magistrate-3.2-3b-base
Text Generation
•
3B
•
Updated
Oct 1, 2024
•
8
•
1
macadeliccc/distil-gemma-2-2b
3B
•
Updated
Aug 2, 2024
•
6
•
1
macadeliccc/llama-3-8b-instruct-pte
Updated
Jul 31, 2024
macadeliccc/gemma-2b-legal-summary-lora
Text Generation
•
Updated
Jul 27, 2024
•
4
•
1
macadeliccc/gemma-2b-openai-content-moderation
Text Generation
•
Updated
Jul 8, 2024
•
8
•
1
macadeliccc/gemma-2b-pubmed-classifier
Text Generation
•
Updated
Jun 30, 2024
•
7
•
1
macadeliccc/gemma-2b-orca-mwp-lora-v0.2
Text Generation
•
Updated
Jun 29, 2024
•
6
macadeliccc/Qwen2-7B-AWQ
Text Generation
•
2B
•
Updated
Jun 28, 2024
•
6
macadeliccc/Samantha-Qwen2-1.5B
Text Generation
•
2B
•
Updated
Jun 28, 2024
•
9
macadeliccc/Samantha-Qwen2-1.5B-QLoRa
Text Generation
•
Updated
Jun 28, 2024
•
5
macadeliccc/dolphin-2.9.2-qwen2-7b-AWQ
Text Generation
•
2B
•
Updated
Jun 25, 2024
•
6
macadeliccc/Samantha-Qwen2-7B-LoRa
Text Generation
•
Updated
Jun 25, 2024
•
4
macadeliccc/dolphin-2.9.3-mistral-7B-32K-GGUF
7B
•
Updated
Jun 25, 2024
•
61
macadeliccc/dolphin-2.9.3-Yi-1.5-34B-32k-GGUF
34B
•
Updated
Jun 24, 2024
•
13
macadeliccc/dolphin-2.9.2-Phi-3-Medium-GGUF
14B
•
Updated
Jun 20, 2024
•
2
macadeliccc/Samantha-Qwen-2-7B
Text Generation
•
8B
•
Updated
Jun 17, 2024
•
488
•
•
3
macadeliccc/ShareGPT-4o-MiniCPM-Llama-3-V-2_5
Feature Extraction
•
9B
•
Updated
Jun 17, 2024
•
8
•
1
macadeliccc/Samantha-Qwen2-7B-AWQ
Text Generation
•
2B
•
Updated
Jun 17, 2024
•
6
macadeliccc/ShareGPT-4o-CPM-Llama-3-V-2_5_lora
Updated
Jun 15, 2024
macadeliccc/opus-samantha-phi-3-4k
Text Generation
•
4B
•
Updated
May 12, 2024
•
3
macadeliccc/Opus-Samantha-Llama-3-8B
Text Generation
•
8B
•
Updated
May 12, 2024
•
6
•
5
macadeliccc/Llama3-ChatQA-1.5-8B-GGUF
8B
•
Updated
May 9, 2024
macadeliccc/dolphin-2.9-llama3-8b-emb
8B
•
Updated
May 8, 2024
•
3
macadeliccc/Opus-Samantha-Llama-3-8B-AWQ
Text Generation
•
2B
•
Updated
Apr 24, 2024
•
6
Previous
1
2
3
...
5
Next