What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-13 03:20:09
f# syntax
// single line comments use a double slash (* multi line comments use (* . . . *) pair -end of multi line comment- *) // ======== "Variables" (but not really) ========== // The "let" keyword defines an (immutable) value let myInt = 5... Add solution -
-
Python 2021-10-05 01:03:02
donut code in python
#CREDITS: https://gist.github.com/Denbergvanthijs/7f6936ca90a683d37216fd80f5750e9c import numpy as np screen_size = 40 theta_spacing = 0.07 phi_spacing = 0.02 illumination = np.fromiter(".,-~:;=!*#$@", dtype="<U1") A = 1 B = 1 R1... Add solution -
Python 2021-09-11 11:44:01
basic chatbot code huggingface
from transformers import AutoModelForCausalLM, AutoTokenizer import torch tokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-large") model = AutoModelForCausalLM.from_pretrained("microsoft/DialoGPT-large") # Let's chat fo... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5