moinnadeem/codellama-34b-instruct-vllm
Prediction
moinnadeem/codellama-34b-instruct-vllm:c97256d55db03f10b73fd058087165a47821eb2f776c851901da46293e952153IDdlmoz6lb6vjarv2ydqiecszm2eStatusSucceededSourceWebHardwareA100 (80GB)Total durationCreatedby @moinnadeemInput
- debug
- top_k
- 50
- top_p
- 0.9
- prompt
- Write a Python function downloads a html page from the internet and extracts the text of the h1 elements
- temperature
- 0.75
- system_prompt
- You are a helpful assistant.
- max_new_tokens
- 509
- min_new_tokens
- -1
Output
``` import requests from bs4 import BeautifulSoup def download_h1_text(url): response = requests.get(url) soup = BeautifulSoup(response.content, 'html.parser') h1_elements = soup.find_all('h1') text = [element.text for element in h1_elements] return text ```
Want to make some of these yourself?
Run this model