Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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 görüntüleme • 2 yıl önce •via X (Twitter)

11 Yorum

Radamés Ajna profil fotoğrafı
Radamés Ajna2 yıl önce

here is the code

xleven profil fotoğrafı
xleven2 yıl önce

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

Radamés Ajna profil fotoğrafı
Radamés Ajna2 yıl önce

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

Fred Bliss profil fotoğrafı
Fred Bliss2 yıl önce

@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 profil fotoğrafı
Radamés Ajna2 yıl önce

@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 profil fotoğrafı
saurabh mehta2 yıl önce

@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 profil fotoğrafı
Steven Natera2 yıl önce

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

IF profil fotoğrafı
IF2 yıl önce

@huggingface @ollama win version please :😭

Radamés Ajna profil fotoğrafı
Radamés Ajna2 yıl önce

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

BLENDER SUSHI 🫶 X - 24/7 Blenderian profil fotoğrafı
BLENDER SUSHI 🫶 X - 24/7 Blenderian2 yıl önce

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

Radamés Ajna profil fotoğrafı
Radamés Ajna2 yıl önce

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

Benzer Videolar

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 görüntüleme • 1 yıl önce