Загрузка видео...

Не удалось загрузить видео

На главную

Just discovered OSX Automator: attach a keyboard shortcut to run a Python script on highlighted text, instantly swapping with LLM magic! Now proofing grammar on-demand with Mistral 8x7B via Hugging Face or Mistral 7B with ollama LocalLLM

84,121 просмотров • 2 лет назад •via X (Twitter)

Комментарии: 11

Фото профиля Radamés Ajna
Radamés Ajna2 лет назад

here is the code

Фото профиля xleven
xleven2 лет назад

@huggingface @ollama Nice work! There is an Ollama Extension in Raycast with same functions and smooth UX

Фото профиля Radamés Ajna
Radamés Ajna2 лет назад

@xlevenz @huggingface @ollama Cool! I need to check Raycast

Фото профиля Fred Bliss
Fred Bliss2 лет назад

@huggingface @ollama Just discovered this post after spending way too long trying to make Raycast extensions work for this same exact purpose. THANK YOU.

Фото профиля Radamés Ajna
Radamés Ajna2 лет назад

@huggingface @ollama 🤩 I haven't tried Raycast however, I turned to Automator because of its native access on the OSX. The only place it doesn't work as a keyboard shortcut is inside Gmail textbox. However, you can select the text, right-click -> services -> run automator

Фото профиля saurabh mehta
saurabh mehta2 лет назад

@huggingface @ollama Thanks a lot for sharing this automator. Can be much helpful in the flow of work. I followed the steps but when I trigger the shortcut, I get an error: error ‘response’ Any idea why this might be happening? Thanks a lot again.

Фото профиля Steven Natera
Steven Natera2 лет назад

@ollama @huggingface A word of caution. Automator is unreliable with some tasks.

Фото профиля IF
IF2 лет назад

@huggingface @ollama win version please :😭

Фото профиля Radamés Ajna
Radamés Ajna2 лет назад

@FramesImpact @huggingface @ollama maybe we could try using this ?

Фото профиля BLENDER SUSHI 🫶 X - 24/7 Blenderian
BLENDER SUSHI 🫶 X - 24/7 Blenderian2 лет назад

@huggingface @ollama I have been doing this with Pythonista keyboard and chatGPT! But good usage of Automator.p and Shortcuts.

Фото профиля Radamés Ajna
Radamés Ajna2 лет назад

@huggingface @ollama can you run the command from any app? Automator is nice

Похожие видео

Molmo by Ai2 - Open source SoTA Multimodal (Vision) Language model, beating Claude 3.5 Sonnet, GPT4V and comparable to GPT4o 🔥 They release four model checkpoints: 1. MolmoE-1B, a mixture of experts model with 1B (active) 7B (total) 2. Molmo-7B-O, most open 7B model 3. Molmo-7B-D, demo model 4. Molmo-72B, best model System Architecture > Input: Multi-scale, multi-crop images generated from the original image. > Vision Encoder: OpenAI's ViT-L/14 336px CLIP model, a powerful ViT, encodes images into vision tokens. > Connector: MLP projects tokens to LLM input space, followed by pooling for dimensionality reduction. > LLM: Decoder-only Transformer, various options (OLMo, OLMoE, Qwen2, Mistral, Gemma2, Phi) with diverse scales and openness. Model Variants > Vision Encoder: Consistent ViT-L/14 CLIP model across variants. > LLM: OLMo-7B-1024, OLMoE-1B-7B-0924, Qwen2 (7B, 72B), Mistral 7B, Gemma2 9B, Phi 3 Medium, offering different capacities and openness levels. Training Strategy > Stage 1: Multimodal pre-training for caption generation with new captioning data. > Stage 2: Supervised fine-tuning on a dataset mixture, updating all parameters. > No RLHF involved, Learning rates adjusted based on component types and pre-training status. > All the weights are available on Hugging Face Hub 🤗 > Compatible with Transformers (Remote Code) Kudos Ai2 for such a brilliant and open work! 🐐 Video credits: Allen AI YT Channel

Vaibhav (VB) Srivastav

80,474 просмотров • 1 год назад