pyatv
transformers
pyatv | transformers | |
---|---|---|
15 | 176 | |
823 | 125,369 | |
- | 1.7% | |
8.9 | 10.0 | |
20 days ago | 4 days ago | |
Python | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pyatv
-
Show HN: Phind Model beats GPT-4 at coding, with GPT-3.5 speed and 16k context
It's definitely not impossible at least.
Someone is doing it in python here:
https://pyatv.dev/
GPT-4 actually sent me here:
"Here is an example of a C# library that implements the HAP: CSharp.HomeKit (https://github.com/brutella/hkhomekit). You can use this library as a reference or directly use it in your project."
Which, to no surprise based on my experiences with LLMs for programming does not exist and doesn't seem to have ever existed.
I get that they aren't magic, but I guess I am just bad at trying to use LLMs to help in my programming. Apparently all I do are obscure things or something. Or I am just not good enough at prompting. But I feel like that's also a reflection of the weakness of an LLM in that it needs such perfect and specific prompting to get good answers.
-
New Home Architecture Upgrade is Available Again
-> https://github.com/postlund/pyatv/issues/1931
-
Is it possible to control AppleTV from a Macbook?
I love Python, but I really wish I didn't have to use it here. The reason I do is that tvOS changed the way network remote control works, and the only library that could do that was / is a fantastic Python library called pyatv: https://pyatv.dev/.
- pyatv - a client library for Apple TV and AirPlay devices
- Pyatv: A client library for Apple TV and AirPlay devices
-
Using AppleTV Play/Pause Status as a Switch for Automations
1) Install pyatv via command line. The command pip install pyatv is one way to achieve this. The important thing is that path needs to be accessible to homebridge. For me, that was /usr/local/bin Before proceeding, I recommend reading more about the API as this will be helpful if you want to build additional switches that track power status or other attributes. https://pyatv.dev
-
Turn off Apple TV by HomeKit automation?
You can use pyatv to do this and if MQTT is your thing you can use this plugin.
- Any one know a good Apple Plugin?
-
Speed Typing on an Apple TV
The video above is just a silly experiment, but the library that's driving it (pyatv) is super useful. For example, on my Mac I can press Cmd+Shift+R to toggle an Apple TV remote control. Really useful for pausing a video or jumping back a few seconds. The cool thing is that it also works on Windows, Linux, etc. People are investigating adding regular text input to the library as well.
-
Speed Typing on Apple TV
There's not an API provided by Apple. There are 3 protocols that have been reverse engineered by different people. The main one I've found is a python library called pyatv (https://pyatv.dev/) that handles pairing and remote control commands.
transformers
-
AI enthusiasm #9 - A multilingual chatbot📣🈸
transformers is a package by Hugging Face, that helps you interact with models on HF Hub (GitHub)
-
Maxtext: A simple, performant and scalable Jax LLM
Is t5x an encoder/decoder architecture?
Some more general options.
The Flax ecosystem
https://github.com/google/flax?tab=readme-ov-file
or dm-haiku
https://github.com/google-deepmind/dm-haiku
were some of the best developed communities in the Jax AI field
Perhaps the “trax” repo? https://github.com/google/trax
Some HF examples https://github.com/huggingface/transformers/tree/main/exampl...
Sadly it seems much of the work is proprietary these days, but one example could be Grok-1, if you customize the details. https://github.com/xai-org/grok-1/blob/main/run.py
-
Lossless Acceleration of LLM via Adaptive N-Gram Parallel Decoding
The HuggingFace transformers library already has support for a similar method called prompt lookup decoding that uses the existing context to generate an ngram model: https://github.com/huggingface/transformers/issues/27722
I don't think it would be that hard to switch it out for a pretrained ngram model.
-
AI enthusiasm #6 - Finetune any LLM you want💡
Most of this tutorial is based on Hugging Face course about Transformers and on Niels Rogge's Transformers tutorials: make sure to check their work and give them a star on GitHub, if you please ❤️
-
Schedule-Free Learning – A New Way to Train
* Superconvergence + LR range finder + Fast AI's Ranger21 optimizer was the goto optimizer for CNNs, and worked fabulously well, but on transformers, the learning rate range finder sadi 1e-3 was the best, whilst 1e-5 was better. However, the 1 cycle learning rate stuck. https://github.com/huggingface/transformers/issues/16013
-
Gemma doesn't suck anymore – 8 bug fixes
Thanks! :) I'm pushing them into transformers, pytorch-gemma and collabing with the Gemma team to resolve all the issues :)
The RoPE fix should already be in transformers 4.38.2: https://github.com/huggingface/transformers/pull/29285
My main PR for transformers which fixes most of the issues (some still left): https://github.com/huggingface/transformers/pull/29402
- HuggingFace Transformers: Qwen2
- HuggingFace Transformers Release v4.36: Mixtral, Llava/BakLlava, SeamlessM4T v2
- HuggingFace: Support for the Mixtral Moe
-
Paris-Based Startup and OpenAI Competitor Mistral AI Valued at $2B
If you want to tinker with the architecture Hugging Face has a FOSS implementation in transformers: https://github.com/huggingface/transformers/blob/main/src/tr...
If you want to reproduce the training pipeline, you couldn't do that even if you wanted to because you don't have access to thousands of A100s.
What are some alternatives?
homebridge-apple-tv-remote - Plugin for controlling Apple TVs in homebridge.
fairseq - Facebook AI Research Sequence-to-Sequence Toolkit written in Python.
starcli - :sparkles: Browse trending GitHub projects from your command line
sentence-transformers - Multilingual Sentence & Image Embeddings with BERT
Home Assistant - :house_with_garden: Open source home automation that puts local control and privacy first.
llama - Inference code for Llama models
homebridge-cmd4 - CMD4 Plugin for Homebridge - Supports ~All Accessory Types & now all Characteristics too
transformer-pytorch - Transformer: PyTorch Implementation of "Attention Is All You Need"
homebridge-cmd-television
text-generation-webui - A Gradio web UI for Large Language Models. Supports transformers, GPTQ, AWQ, EXL2, llama.cpp (GGUF), Llama models.
opsdroid - 🤖 An open source chat-ops bot framework
huggingface_hub - The official Python client for the Huggingface Hub.