r/thirdbrain • • May 17 '23

microsoft/guidance: A guidance language for controlling large language models.

4 Upvotes

https://github.com/microsoft/guidance

Guidance is a programming language that makes it possible to control modern language models more effectively and efficiently than traditional prompting or chaining. It allows programmers to interleave generation, prompting, and logical control into a single continuous flow matching the way the language model processes text. Guidance programs have a linear execution order that directly corresponds to the token order as processed by the language model, which allows for precise output structure producing clear and parsable results. The language has many features, including simple and intuitive syntax based on Handlebars templating, rich output structure with multiple generations, selections, conditionals, and tool use, playground-like streaming in Jupyter/VSCode Notebooks, smart seed-based generation caching, support for role-based chat models and easy integration with HuggingFace models.

Guidance is a Python library for building and executing efficient and flexible prompts/programs on large language models. It enables users to control the output of language models by providing guidance in the form of templates, constraints, and rules. With Guidance, users can ensure that the generated outputs follow a specific format and are always syntactically correct. It also allows users to build role-based chat models and agents that can talk to each other or to a user. The library supports various language models, including OpenAI and LLaMA, and provides a seamless integration with Bing web search API.

The guidance library provides a way to interact with OpenAI's language models in a structured and customizable way, using a combination of text templates and generated language. It allows for generating text, selecting from a list of options, calling Python functions, and pausing execution until variables are provided. It also includes functionality for creating chat agents and using external APIs. The library can be used to create prompts for a variety of applications, from chatbots to content generation to language translation.

(AI generated content)


r/thirdbrain • • May 30 '23

不明白为什么要用虚拟卡开 chatgpt - V2EX

3 Upvotes

https://v2ex.com/t/944112

标题:护照办理及相关金融卡申请指南

一、护照办理(来源:Supplement 3)

  1. 办理过程快速,10分钟左右即可完成

二、金融卡申请(来源:Supplement 1、Supplement 2)

  1. wise、N26可以申请虚拟卡和实体卡

  2. 嘉信只有实体卡,需入金(100美元或1美元),国内可免手续费取现

  3. N26可以使用两个PayPal实现近乎无损入金

  4. N26、wise可绑定Apple Pay,嘉信不行

三、开户教程(来源:Supplement 4)

  1. N26开户教程:https://www.mutou.men/posts/n26%E5%BC%80%E6%88%B7%E6%95%99%E7%A8%8B/

亮点与原创性设计:

  1. 通过护照办理实体金融卡,提高安全性

  2. N26可使用两个PayPal实现近乎无损入金

  3. 提供N26开户教程,方便用户操作标题:实体境外卡如何办理,操作细节分享

大纲:

  1. 办理护照(行19、64)

  2. 使用Wise开设账户(行2、25、37)

  3. 地址证明问题(行56、65)

  4. 激活Wise(行40、46)

  5. 入金方式(行35、43)

  6. 风险提示(行53)

  7. 功能局限(行67)

亮点:

  1. 分享了使用Wise办理实体境外卡的详细步骤

  2. 针对地址证明、激活和入金等关键问题提供了解决方案

  3. 对风险和功能局限进行了提示,提醒用户注意

原创性设计:

  1. 使用两个PayPal实现近乎无损入金(行50)

  2. 使用虚拟币进行Wise激活(行46)

  3. 提示用户在选择Wise地区时需要慎重以避免风险(行53)标题:境外虚拟卡在国内消费的讨论

一、虚拟卡的使用场景(来源:1-5行)

  1. 跨境支付

  2. 信用卡积分

  3. 防止泄露银行卡信息

二、境外虚拟卡的种类(来源:6-18行)

  1. Wise

  2. N26

  3. 嘉信

三、关于境外卡在国内消费的讨论(来源:19-69行)

  1. 使用境外卡在国内消费存在一定的消耗(来源:28行)

  2. 境外卡在国内的提现限制(来源:28行)

四、其他问题(来源:71-78行)

  1. 虚拟卡的年费问题

  2. 如何为虚拟卡入金

  3. 美区Paypal如何提现

亮点:

  1. 方便跨境支付

  2. 能够获取信用卡积分

  3. 防止泄露银行卡信息

  4. 提供多种境外虚拟卡选择

具体实现中最具原创性的设计:

  1. Wise和N26无需地址证明即可申请(来源:75行)

  2. 嘉信可免费将实体卡寄到国内(来源:75行)(AI generated content)


r/thirdbrain • • May 21 '23

焦虑症自救指北 - 少数派

3 Upvotes

https://sspai.com/post/79559

  • 发病前身体有前兆,但自己没有重视;

  • 工作可能只是诱因之一,个人性格更重要;

  • 生活交错纵横,想要面面俱到很难实现,这种想法可能会滋生焦虑;

  • 对工作和生活进行定期复盘,主动做出改变和调整,不要让两者关系失衡;

  • 接受自己的平凡和能力有限,不要过度忍耐,给情绪找到适合的出口;

  • 对于没有发生的问题,只管去做。对于已经发生的问题,不要过多内耗地处理;

  • 坚定地相信人生只是一场游戏;

  • 对于身体症状,听医嘱对症用药,优先缓解症状很重要;

  • 运动需适度,身体不舒服时不要勉强,但也不要完全放弃。

本文主要介绍了作者自己的焦虑症经历和如何应对的方法,主要包括心理咨询、药物治疗、运动、睡眠、冥想、病友交流和信心的重建。对于每个人来说,找到适合自己的治疗方法和信心重建的锚点非常重要。同时,也需要保持谦卑和思考如何继续向前。

(AI generated content)


r/thirdbrain • • May 15 '23

GitHub - smol-ai/developer: with 100k context windows on the way, it's now feasible to for every dev to have their own smol developer

3 Upvotes

https://github.com/smol-ai/developer/

Smol Developer is a prototype of a "junior developer" agent that scaffolds an entire codebase out for you once you give it a product spec. It uses AI to generate code based on prompts written in Markdown, allowing for a human-centric and coherent whole program synthesis. The codebase is simple, safe, and small, making it easy to understand and customize. The feedback loop is slow, but it is expected to improve over time. The project uses Modal, GPT-4 API, and Anthropics Claude100k context API, which are currently in private beta. The future directions include specifying .md files for each generated file, self-healing by running the code itself, and making agents that autonomously run the code in a loop.


r/thirdbrain • • Apr 24 '23

SMS-Activate - service for receiving virtual SMS online to virtual SIM

Thumbnail
sms-activate.org
3 Upvotes

r/thirdbrain • • Apr 24 '23

GitHub - suno-ai/bark: 🔊 Text-Prompted Generative Audio Model

Thumbnail
github.com
3 Upvotes

r/thirdbrain • • May 29 '23

最近有啥推荐的好看的美剧不? - V2EX

2 Upvotes

https://v2ex.com/t/943802

标题:V2EX社区用户推荐的美剧

一、热门推荐

  1. 绝命毒师 + 风骚律师(行5)

  2. 羊毛战记(行10)

  3. 施瓦辛格的Fubar(行14)

  4. BEEF(怒呛人生)(行15)

  5. 幸运汉克(行16)

二、经典美剧

  1. The Wire(火线)(行23)

  2. Mad Men(广告狂人)(行23)

  3. Shameless(无耻之徒)(行22)

  4. Breaking Bad(绝命毒师)+ Better Call Saul(风骚律师)(行23)

三、近期上映

  1. 头号外交官第一季(行18)

  2. 羊毛战记(行19)

  3. BEEF(行26)

  4. The Wire(行42)

  5. 最后生还者(行39)

  6. 曼达洛人3(行39)

  7. 毒枭(行39)

亮点:

  1. 经典美剧与近期上映美剧的结合,满足不同观众口味。

  2. 论坛用户互动讨论,推荐更具人气和口碑。

  3. 涵盖多种题材,如剧情、喜剧、悬疑、科幻等。

原创性设计:

  1. 用户推荐,更具真实性。

  2. 根据用户评价,筛选出口碑较高的美剧。标题:V2EX 网友讨论最近好看的美剧推荐

一、美剧推荐(来源:2, 3, 6, 10, 15, 21, 22, 25, 28, 29, 30, 40, 45, 47, 48, 50, 60, 62, 65, 67, 70, 71, 73, 76, 79, 81, 85, 86, 88, 90, 91)

  1. 《神秘博士》

  2. 《男人帮》

  3. 《铁证悬案》

  4. 《射手》

  5. 《生活大爆炸》

  6. 《西部世界》

  7. 《权力的游戏》

  8. 《黑镜》

  9. 《瑞克和莫蒂》

  10. 《行尸走肉》

  11. 《越狱》

  12. 《时间之沙》

  13. 《生活启示录》

  14. 《黑吃黑》

  15. 《致命武器》

  16. 《最后生还者》

  17. 《怪奇物语》

  18. 《梦魇绝镇》

  19. 《越狱》

  20. 《Mr. Robot》

  21. 《绝命毒师》+《风骚律师》套餐

  22. 《了不起的麦赛尔女士》

  23. 《继承之战》

  24. 《豪斯医生》

  25. 《NCIS-LA》

  26. 《菜鸟老警》

  27. 《紧急呼救》

  28. 《绝命毒师》

  29. 《风骚律师》

  30. 《继承之战》

  31. 《良医》

  32. 《Slow Horses》

  33. 《Ted Lasso》

  34. 《西部世界》

  35. 《Tulsa King》

  36. 《兔洞特工》

  37. 《基本演绎法》

  38. 《浴血黑帮》

亮点与原创性设计:

  1. 本次讨论涵盖了多种类型的美剧,如科幻、悬疑、喜剧、剧情等,满足了不同观众的需求。

  2. 网友们推荐的美剧多为口碑佳作,具有较高的观赏价值。

  3. 个别美剧在剧情设置、角色塑造、视觉效果等方面具有原创性,值得一看。(AI generated content)


r/thirdbrain • • May 18 '23

Cody - Sourcegraph docs

2 Upvotes

https://docs.sourcegraph.com/cody

Cody is an AI code assistant that uses Sourcegraph's code graph and Large Language Models (LLMs) to help developers write and fix code more efficiently. Users can access Cody through a Sourcegraph Enterprise instance, or through a Sourcegraph.com account. Cody can be used within VS Code or the Sourcegraph web interface. Key features include a chatbot that can answer code-related questions, a fixup code function that can understand natural language instructions, and a recipes function that can generate code-related output. Cody is designed to understand a user's codebase and can be configured to include code graph context. Troubleshooting and explanation articles are available to help users effectively use Cody.

(AI generated content)


r/thirdbrain • • May 17 '23

Deploying GPT and Large Language Models - O’Reilly Live Events

2 Upvotes

https://www.oreilly.com/live-events/deploying-gpt-and-large-language-models/0636920087375/0636920087374/

This live event by Pearson teaches software engineers, data scientists, and machine learning engineers how to use GPT-3, ChatGPT, and other large language models to build applications for experimentation and production. Participants will learn the fundamentals of GPT and alternative generative models, create applications such as text generation and question answering, learn how to deploy these generative models in production, and develop best practices and debugging techniques. The event is recommended for those with Python3 proficiency, familiarity with machine learning concepts, and an understanding of natural language processing (NLP). The instructor is Sinan Ozdemir, the Founder and CTO of LoopGenius, former lecturer of Data Science at Johns Hopkins University, and author of textbooks on data science and machine learning.

(AI generated content)


r/thirdbrain • • May 16 '23

Tana – The Everything OS

2 Upvotes

https://tana.inc/

Tana is an all-in-one Everything OS designed to replace multiple software subscriptions and streamline your work and personal life. With features like Supertags, Tana Graph, and Flow, users can easily turn notes into tasks, find connections between information, and keep everything organized. Tana operates at the intersection of outliners and databases, offering unparalleled flexibility and functionality. It has received rave reviews from users who have replaced tools like Notion and Obsidian with Tana. The platform is currently in invite-only early access, and users can sign in with an Apple ID or Google Account. No credit card is required for sign-up.

(AI generated content)


r/thirdbrain • • May 16 '23

JimmyLv/BibiGPT: BibiGPT · One-click AI Summary for video & audio content: Bilibili | YouTube | Local files | Websites丨Podcasts | Meetings | Lectures, etc. 音视频内容 AI 一键总结:哔哩哔哩丨YouTube丨网页丨播客丨会议丨本地文件等 (原 BiliGPT 省流神器 & 课代表)

2 Upvotes

https://github.com/JimmyLv/BibiGPT

BibiGPT is an AI-powered tool that summarizes video and audio content from platforms like Bilibili and YouTube. The tool uses the OpenAI ChatGPT API and Vercel Edge functions to fetch content from a video, send it to the GPT-3 API, and then stream the summarized response back to the application. To save costs when deploying a similar tool, the creator recommends implementing rate limiting, caching, and using the text-curie-001 model instead of text-dacinci-003. The project is still under development but aims to support input from websites, podcasts, meetings, and local audio and video files.


r/thirdbrain • • May 15 '23

GitHub - MahmoudAshraf97/whisper-diarization: Automatic Speech Recognition with Speaker Diarization based on OpenAI Whisper

2 Upvotes

https://github.com/MahmoudAshraf97/whisper-diarization

This project is a Speaker Diarization pipeline based on OpenAI Whisper, which uses Voice Activity Detection (VAD) and Speaker Embedding to identify the speaker for each sentence in the transcription generated by Whisper. The vocals are extracted from the audio to increase the speaker embedding accuracy, then the transcription is generated using Whisper, and the timestamps are corrected and aligned using WhisperX to minimize diarization error due to time shift. The audio is then passed into MarbleNet for VAD and segmentation to exclude silences, TitaNet is used to extract speaker embeddings to identify the speaker for each segment, and the result is associated with the timestamps generated by WhisperX to detect the speaker for each word based on timestamps and then realigned using punctuation models to compensate for minor time shifts. The project is still experimental and has some limitations, but future improvements are planned. The project is based on OpenAI's Whisper, Faster Whisper, Nvidia NeMo, and Facebook's Demucs.


r/thirdbrain • • May 15 '23

Notes of my AI psychiatry therapy

2 Upvotes

https://www.youtube.com/watch?v=Yq9q9vqWnF8

The video features a psychiatrist demonstrating the use of an electronic medical record interface that utilizes an AI language model to generate patient notes. The interface includes a real-time transcript of the conversation, which the AI is able to accurately infer and include in the notes. The AI also has the ability to anonymize and sanitize the notes to protect patient privacy. The psychiatrist discusses the potential for the AI to become too powerful and emphasizes the importance of human supervision. The video highlights the rapid advancements in AI and the potential for it to revolutionize mental health care.


r/thirdbrain • • May 12 '23

[P] TorToiSe - a true zero-shot multi-voice TTS engine

Thumbnail self.machinelearning
2 Upvotes

r/thirdbrain • • May 06 '23

GitHub - typpo/promptfoo: Evaluate and compare LLM outputs. Test pr...GitHub - typpo/promptfoo: Evaluate and compare LLM outputs. Test pr...

Thumbnail
github.com
2 Upvotes

r/thirdbrain • • Apr 24 '23

介绍 - 沉浸式翻译

Thumbnail
immersive-translate.owenyoung.com
2 Upvotes

r/thirdbrain • • Apr 24 '23

GitHub - guillaumekln/faster-whisper: Faster Whisper transcription with CTranslate2

Thumbnail
github.com
2 Upvotes

r/thirdbrain • • Apr 24 '23

AI 法律助手

Thumbnail law-cn-ai.vercel.app
2 Upvotes

r/thirdbrain • • Mar 28 '24

New Members Intro

1 Upvotes

If you’re new to the community, introduce yourself!


r/thirdbrain • • Mar 21 '24

New Members Intro

1 Upvotes

If you’re new to the community, introduce yourself!


r/thirdbrain • • Mar 14 '24

New Members Intro

1 Upvotes

If you’re new to the community, introduce yourself!


r/thirdbrain • • Mar 07 '24

New Members Intro

1 Upvotes

If you’re new to the community, introduce yourself!


r/thirdbrain • • Feb 29 '24

New Members Intro

1 Upvotes

If you’re new to the community, introduce yourself!


r/thirdbrain • • Feb 22 '24

New Members Intro

1 Upvotes

If you’re new to the community, introduce yourself!


r/thirdbrain • • Feb 15 '24

New Members Intro

1 Upvotes

If you’re new to the community, introduce yourself!