Skip to content
Profile icon

Diogo Neves

hacker
@KosmiCKhaoz (0)
Exploring alternative realities 🕶 Soluble in C8H10N4O2 ☕️ Built stuff @ Siri  / ex-SWE @ Sony PlayStation & Guerrilla
Repls
Community
KosmiCKhaoz
KosmiCKhaoz
published an Update
•4 months ago
0
HuggingRepl
HuggingRepl
🤗Transformers sample running as a Repl
A barebones Repl of 🤗Transformers, with one of their sample uses as seen at https://huggingface.co/docs/transformers/quicktour . This Repl includes the necessary dependencies and a simple main.py, simply run the Repl.
#machinelearning
#huggingface
#python
KosmiCKhaoz
KosmiCKhaoz
published an Update
•4 months ago
0
Automaton
AutomatonImplements a cellular automaton to generate a simple terrain-like structure, from noise.
Cellular Automaton: Needed a late night hack fix and implemented a simple automaton
This Repl includes an implementation of a cellular automaton to generate a simple terrain-like structure, from noise. Cellular Automata is a subject that I've been meaning to explore for a long time and never did. This Repl was created as a fun night of code and intended to try out Replit, practice using numpy and learn more about CAs. The implementation includes 3 main stages: Generate initial state Run the CA rule for a few iterations Display the results This implementation keeps all the intermediate states so that they can be later displayed or analysed. The Repl will show an animation of the different time steps and include a plot of the number of live cells over time. Next I'd like to: Experiment with stochastic implementations. Use a higher-level plotting library (matplotlib is messy IMO). Learn how to present simple projects beautifully. Disclaimer: I tried to keep it short and simple too and hopefully most functions have self-evident intentions. No attempts were made at optimising the code.