Estamos haciendo videotutoriales, a ver que tal nos va, es nuestra primera vez pero iremos mejorando youtu.be/PFUJv0CykO8
Charla: Optimización Matemática para Machine Learning
Fecha del evento: 19 de Octubre del 2024
Hora: 9:30 am - 11:30 am
Ponente: Yosbi Jhon Gollés Paico
Registrate en: forms.gle/USNhDffspRQt6LzG9
Los invitamos a nuestro #PyDay virtual este 30 de Agosto.
Python Piura retweeted
Building error-free RAG systems comes with challenges, including maintaining document quality, refining prompts, and addressing hallucinations.
In this workshop, we'll synthesize what we’ve learned from hundreds of AI teams that are using RAG.
RSVP: hubs.la/Q02kgTQ80
Python Piura retweeted
Many Machine Learning tutorials rely on using frameworks that hide what's really going on under the hood.
But not in this course: its "no black box" approach lets you see exactly how things work.
You'll learn ML & neural networks with no frameworks.
freecodecamp.org/news/learn-…
Python Piura retweeted
🐍📰 Document Your Python Code and Projects With ChatGPT
#python realpython.com/document-pyth…
Python Piura retweeted
Mixtral 8x7B Instruct with AWQ & Flash Attention 2 🔥
All in ~24GB GPU VRAM!
With the latest release of AutoAWQ - you can now run Mixtral 8x7B MoE with Flash Attention 2 for blazingly fast inference.
All in < 10 lines of code.
The only real change except loading AWQ weights is to pass attn_implementation="flash_attention_2" over to the .from_pretrained call whilst loading the model.
Here's a full run through:
1. Install AutoAWQ and transformers
pip install autoawq git+https://github. com/huggingface/transformers.git
2. Initialise the tokeniser and the model
from transformers import AutoModelForCausalLM, AutoTokenizer, TextStreamer
model_id = "casperhansen/mixtral-instruct-awq"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
low_cpu_mem_usage=True,
device_map="cuda:0",
attn_implementation="flash_attention_2")
3. Initialise the TextStreamer
streamer = TextStreamer(tokenizer,
skip_prompt=True,
skip_special_tokens=True)
4. Tokenise the inputs
tokens = tokenizer(
text,
return_tensors='pt'
).input_ids.to("cuda:0")
5. Generate!
generation_output = model.generate(
tokens,
streamer=streamer,
max_new_tokens=512
)
That's it! 🤗
Python Piura retweeted
Lo asesino no te lo quitará nadie, lo ladrón tampoco. Y pasarás a la historia como el criminal que eres, que solo
fue liberado por un gobierno mafioso que intenta, para mal del Perú, emular al tuyo.
#Fujimori #FujimoriNuncaMas #IndultoEsInsulto
Python Piura retweeted
La represa de Poechos, la más grande del Perú, fue construida por Velasco en 5 años. Gracias a esta megaobra existe el valle de San Lorenzo, el valle del Piura y el de Cieneguillo, donde se producen la mayor parte de limón, mango y uva de mesa del país.
Python Piura retweeted
⚠️ 🦟 El #Dengue está aquí. ¿A qué síntomas debemos estar alertas? ¿Cómo podemos evitar el contagio?
👉 No relajemos los cuidados. Sigue estos consejos y cuida a tu familia y a ti del dengue.
Python Piura retweeted
ok wow! Atentos a BARK ✨
Un modelo de sintetización de voz capaz de generar voces naturales en múltiples idiomas -algunos idiomas con mejor calidad que otros- y que además...
👉 ES OPENSOURCE 👈
Not perfect, but getting closer!
Python Piura retweeted
Ciudadano puneño Manuel Quilla falleció anoche, tras quedar inconsciente debido a golpes de la policía en comisaría San Andrés, Lima. Integró delegación de manifestantes de Juliaca en marzo. Su pareja no tuvo dinero para atención médica. Vía @PachamamaRadio_ Volante del 20 marzo
Python Piura retweeted
Modern Test-Driven Development in Python
testdriven.io/blog/modern-td…
Interested in how TDD works?
This guide walks you through the process, using modern tools and techniques, from start to finish.
by @JanGiacomelli
#Python #Testing #TDD #Flask
Python Piura retweeted
La recolección de firmas empezó por presión de la DBA de la Coordinadora Republicana, grupo sedicioso de ultraderecha.
Málaga y aliados creyeron que con la denuncia de Benavides se daría el momentum para presionar al bloque de "los niños".
Python Piura retweeted
Chrome es usado por 2.6 billones de usuarios.
Pero mucha gente no sabe sacarle todo su potencial.
10 extensiones de chrome que te harán la vida más fácil (gratis):
Python Piura retweeted
Empresa anterior: necesito que me ayudes con algunas cosas, cobrame lo que sea.
Yo: Nos conocemos hace años y por primera vez me pides ayuda. Hablemos claro: nunca quisiste mi amistad. Todo iba bien y no me necesitabas.
Python Piura retweeted
Crea un BOT PARA WHATSAPP y dópalo para que tenga mejores funcionalidades o haga uso de la inteligencia artificial.
Disclaimer: este tipo de bots es sólo para usuarios de smartphone con sistema operativo Android. Lo siento por los amantes 🍎
Vamos al lío (perdón al hilo).
🧵
Python Piura retweeted
Machine Learning Projects for beginners with source code
in Python😲
A thread 🧵👇




























