Django: Sanitize incoming HTML fragments with nh3
Let’s look at how to use nh3 for HTML sanitisation in Django forms. You can adapt this approach to other situations, such as in DRF serializers.
https://adamj.eu/tech/2023/12/13/django-sanitize-incoming-html-nh3/
Let’s look at how to use nh3 for HTML sanitisation in Django forms. You can adapt this approach to other situations, such as in DRF serializers.
https://adamj.eu/tech/2023/12/13/django-sanitize-incoming-html-nh3/
adamj.eu
Django: Sanitize incoming HTML fragments with nh3 - Adam Johnson
A fairly common situation in a Django project is where you need to store and serve arbitrary HTML fragments. These often come from forms with rich text editors (using HTML’s contenteditable).
imoneoi / openchat
OpenChat: Advancing Open-source Language Models with Imperfect Data
https://github.com/imoneoi/openchat
OpenChat: Advancing Open-source Language Models with Imperfect Data
https://github.com/imoneoi/openchat
GitHub
GitHub - imoneoi/openchat: OpenChat: Advancing Open-source Language Models with Imperfect Data
OpenChat: Advancing Open-source Language Models with Imperfect Data - imoneoi/openchat
LouisShark / chatgpt_system_prompt
collect agent's system prompt and share some prompt inject knowledge
https://github.com/LouisShark/chatgpt_system_prompt
collect agent's system prompt and share some prompt inject knowledge
https://github.com/LouisShark/chatgpt_system_prompt
GitHub
GitHub - LouisShark/chatgpt_system_prompt: A collection of GPT system prompts and various prompt injection/leaking knowledge.
A collection of GPT system prompts and various prompt injection/leaking knowledge. - LouisShark/chatgpt_system_prompt
llmware-ai / llmware
Providing enterprise-grade LLM-based development framework, tools, and fine-tuned models.
https://github.com/llmware-ai/llmware
Providing enterprise-grade LLM-based development framework, tools, and fine-tuned models.
https://github.com/llmware-ai/llmware
GitHub
GitHub - llmware-ai/llmware: Unified framework for building enterprise RAG pipelines with small, specialized models
Unified framework for building enterprise RAG pipelines with small, specialized models - llmware-ai/llmware
PurpleLlama
Set of tools to assess and improve LLM security.
https://github.com/facebookresearch/PurpleLlama
Set of tools to assess and improve LLM security.
https://github.com/facebookresearch/PurpleLlama
GitHub
GitHub - meta-llama/PurpleLlama: Set of tools to assess and improve LLM security.
Set of tools to assess and improve LLM security. Contribute to meta-llama/PurpleLlama development by creating an account on GitHub.
Annotated At Runtime
PEP 593 is a bit vague on how you’re supposed to actually consume arguments to Annotated; here is my proposal.
https://blog.glyph.im/2023/12/annotated-at-runtime.html
PEP 593 is a bit vague on how you’re supposed to actually consume arguments to Annotated; here is my proposal.
https://blog.glyph.im/2023/12/annotated-at-runtime.html
blog.glyph.im
Annotated At Runtime
PEP 593 is a bit vague on how you’re supposed to actually consume arguments to Annotated; here is my proposal.
Netchecks
Netchecks is a set of tools for testing network conditions and asserting that they are as expected.
https://github.com/hardbyte/netchecks
Netchecks is a set of tools for testing network conditions and asserting that they are as expected.
https://github.com/hardbyte/netchecks
GitHub
GitHub - hardbyte/netchecks: Tool to validate assumptions about the network
Tool to validate assumptions about the network. Contribute to hardbyte/netchecks development by creating an account on GitHub.
NVIDIA / Megatron-LM
Ongoing research training transformer models at scale
https://github.com/NVIDIA/Megatron-LM
Ongoing research training transformer models at scale
https://github.com/NVIDIA/Megatron-LM
GitHub
GitHub - NVIDIA/Megatron-LM: Ongoing research training transformer models at scale
Ongoing research training transformer models at scale - NVIDIA/Megatron-LM
Balm in GILead: Fast string construction for CPython extensions
https://blog.vito.nyc/posts/gil-balm/
https://blog.vito.nyc/posts/gil-balm/
blog.vito.nyc
Balm in GILead: Fast string construction for CPython extensions
An unorthodox approach to optimizing Python C extensions that operate on Python strings
Python in Visual Studio Code – December 2023 Release
This release includes the following announcements:
https://devblogs.microsoft.com/python/python-in-visual-studio-code-december-2023-release/
This release includes the following announcements:
https://devblogs.microsoft.com/python/python-in-visual-studio-code-december-2023-release/
Microsoft News
Python in Visual Studio Code – December 2023 Release
The December 2023 release of the Python and Jupyter extensions for Visual Studio Code are now available. Learn more about the latest release!
LLMCompiler
An LLM Compiler for Parallel Function Calling.
https://github.com/SqueezeAILab/LLMCompiler
An LLM Compiler for Parallel Function Calling.
https://github.com/SqueezeAILab/LLMCompiler
GitHub
GitHub - SqueezeAILab/LLMCompiler: [ICML 2024] LLMCompiler: An LLM Compiler for Parallel Function Calling
[ICML 2024] LLMCompiler: An LLM Compiler for Parallel Function Calling - SqueezeAILab/LLMCompiler
How many CPU cores can you actually use in parallel?
Figuring out how much parallelism your program can use is surprisingly tricky.
https://pythonspeed.com/articles/cpu-thread-pool-size/
Figuring out how much parallelism your program can use is surprisingly tricky.
https://pythonspeed.com/articles/cpu-thread-pool-size/
Python⇒Speed
How many CPU cores can you actually use in parallel?
Figuring out how much parallelism your program can use is surprisingly tricky.
feud
Build powerful CLIs with simple idiomatic Python, driven by type hints.
https://github.com/eonu/feud/
Build powerful CLIs with simple idiomatic Python, driven by type hints.
https://github.com/eonu/feud/
GitHub
GitHub - eonu/feud: Build powerful CLIs with simple idiomatic Python, driven by type hints. Not all arguments are bad.
Build powerful CLIs with simple idiomatic Python, driven by type hints. Not all arguments are bad. - eonu/feud
Building a personal predictive text engine
This post discusses the development of a personal predictive text engine called AutoWrite, which takes into account words already written in a document to provide context-specific autocompletions.
https://jamesg.blog/2023/12/15/auto-write/
This post discusses the development of a personal predictive text engine called AutoWrite, which takes into account words already written in a document to provide context-specific autocompletions.
https://jamesg.blog/2023/12/15/auto-write/
jamesg.blog
Building a personal predictive text engine | James' Coffee Blog
I write a lot of technical documentation, which involves using long(er) words like
T’is the Time … for GenAI!
Home
Table of Contents
T’is the Time … for GenAI!
...
https://pyimagesearch.com/2023/12/25/tis-the-time-for-genai/
Home
Table of Contents
T’is the Time … for GenAI!
...
https://pyimagesearch.com/2023/12/25/tis-the-time-for-genai/
PyImageSearch
T’is the Time ... for GenAI! - PyImageSearch
Ho-ho-ho. T’is the time to get started with generative AI with Google. Join us in this tutorial, where we explore Vertex AI offerings in Google Cloud.