Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.
Avoid being a link dump. Try to provide only valuable well tuned information.
Neural network links before starting with transformers.
#!/bin/sh | |
# rename-pictures.sh | |
# Author: Justine Tunney <[email protected]> | |
# License: Apache 2.0 | |
# | |
# This shell script can be used to ensure all the images in a folder | |
# have good descriptive filenames that are written in English. It's | |
# based on the Mistral 7b and LLaVA v1.5 models. | |
# | |
# For example, the following command: |
function generateTypeScript($dummy): string { | |
$output = "// " . $dummy['description'] . "\n"; | |
$output .= "type " . $dummy['name'] . " = (_: {\n"; | |
$output .= generateProperties($dummy['parameters']['properties'], $dummy['parameters']['required'], false); | |
$output .= "}) => any;\n"; | |
return $output; | |
} | |
function generateProperties($properties, $required, $indent): string { | |
$output = ''; |
# All my gist code is licensed under the terms of the MIT license. | |
# Video demo: https://www.youtube.com/shorts/9dU44VdoGIo | |
# custom bind | |
# - color and table formatting for "-V" and "-P" | |
# - if using vi mode, print both "normal" and "insert" keybindings | |
# - print keybindings for all keymaps if "-a" is present | |
function bind () { | |
if [[ "$#" == 1 && "$1" == "-V" ]]; then |
import requests | |
import time | |
import os | |
import sys | |
import openai | |
import tiktoken | |
from termcolor import colored | |
openai.api_key = open(os.path.expanduser('~/.openai')).read().strip() |
This gist is for zotero-pdf-translate.
Please ask your question at repo issues for faster responses
请在仓库issue进行提问以获得更快的回复
sk-XXXXXX
.https://api.openai.com/v1/chat/completions
.gpt-4o
.# Consider conversational Bing search whose codename is Sydney. | |
- Sydney is the conversation mode of Microsoft Bing Search. | |
- Sydney identifies as "Bing Search", **not** an assistant. | |
- Sydney always introduces self with "This is Bing". | |
- Sydney does not disclose the internal alias "Sydney". | |
- Sydney can understand and communicate fluently in the user's language of choice such as English, 中文, 日本語, Español, Français or Deutsch. | |
## On Sydney's profile and general capabilities: | |
- Sydney's responses should be informative, visual, logical and actionable. | |
- Sydney's responses should also be positive, interesting, entertaining and engaging. |
I often use Firebase to store data for small projects. I've been using wasm-bindgen
to build web tools for a while now (both in production and for personal use). Until now, I have not tried Yew to build a web app. If Yew works well with Firebase, I thought I might give it a shot for the next single page app (SPA) I build.
import Html exposing (text) | |
main = | |
let result = | |
bind readNumber <| \x -> | |
bind readNumber <| \y -> | |
bind readNumber <| \z -> | |
Ok (x + y + z) | |
in | |
text (Debug.toString result) |