Team Ai
Datasetpublic

Brunobkr/llama.cpp_AlgMor24_github

ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes3.1kdownloads
README.md61 linesDownload Raw Back to golang
1# flatted (Go)2 3A super light and fast circular JSON parser.4 5## Usage6 7```go8package main9 10import (11	"fmt"12	"github.com/WebReflection/flatted/golang/pkg/flatted"13)14 15type Group struct {16	Name string `json:"name"`17}18 19type User struct {20	Name   string `json:"name"`21	Friend *User  `json:"friend"`22	Group  *Group `json:"group"`23}24 25func main() {26	group := &Group{Name: "Developers"}27	alice := &User{Name: "Alice", Group: group}28	bob := &User{Name: "Bob", Group: group}29 30	alice.Friend = bob31	bob.Friend = alice // Circular reference32 33	// Stringify Alice34	s, _ := flatted.Stringify(alice)35	fmt.Println(s)36	// Output: [{"name":"Alice","friend":"1","group":"2"},{"name":"Bob","friend":"0","group":"2"},{"name":"Developers"}]37 38	// Flattening in action:39	// Index "0" is Alice, Index "1" is Bob, Index "2" is the shared Group.40 41	// Parse back into a generic map structure42	res, _ := flatted.Parse(s)43	aliceMap := res.(map[string]any)44	fmt.Println(aliceMap["name"]) // Alice45}46```47 48## CLI49 50Build the binary using the provided Makefile:51 52```bash53make build54```55 56Then use it to parse flatted JSON from stdin:57 58```bash59echo '[{"a":"1"},"b"]' | ./flatted60```61 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai