it's work \o/

claire@debian:~/neuron-translator$ git pull && make clean && make
executable && sudo make install && sudo settrans -a /llm /hurd/sigmoid-
neuron-translator && cat /llm 
Already up to date.
Detected system: GNU -> Hurd=yes
Building for GNU/Hurd - ON_HURD defined
Building for GNU/Hurd - Translator with trivfs_startup server loop
rm -f sigmoid-neuron-translator src/main-hurd.o src/neuron.o
src/trivfs-hooks.o *~ *.o
Detected system: GNU -> Hurd=yes
Building for GNU/Hurd - ON_HURD defined
Building for GNU/Hurd - Translator with trivfs_startup server loop
gcc -std=c23 -Wall -Wextra -pedantic -O2 -D_GNU_SOURCE -
D_POSIX_C_SOURCE=200809L -DDEBUG -DON_HURD -Iinclude -c src/main-hurd.c
-o src/main-hurd.o
gcc -std=c23 -Wall -Wextra -pedantic -O2 -D_GNU_SOURCE -
D_POSIX_C_SOURCE=200809L -DDEBUG -DON_HURD -Iinclude -c src/neuron.c -o
src/neuron.o
gcc -std=c23 -Wall -Wextra -pedantic -O2 -D_GNU_SOURCE -
D_POSIX_C_SOURCE=200809L -DDEBUG -DON_HURD -Iinclude -c src/trivfs-
hooks.c -o src/trivfs-hooks.o
Linking...
Note: If you get 'cannot find -lhurdsig' or similar, you need to
install Hurd development libraries
gcc -std=c23 -Wall -Wextra -pedantic -O2 -D_GNU_SOURCE -
D_POSIX_C_SOURCE=200809L -DDEBUG -DON_HURD -o sigmoid-neuron-translator
src/main-hurd.o src/neuron.o src/trivfs-hooks.o -ltrivfs -lfshelp -
lports -lshouldbeinlibc -lm -lpthread
Detected system: GNU -> Hurd=yes
Building for GNU/Hurd - ON_HURD defined
Building for GNU/Hurd - Translator with trivfs_startup server loop
WARNING: This translator is designed for GNU/Hurd, not Debian/Linux!
On Debian/Linux, you can only compile with 'make compile'
On GNU/Hurd, proceed with installation...
install -m 755 sigmoid-neuron-translator /hurd/
Installed to /hurd/sigmoid-neuron-translator
To use: sudo settrans -a /llm /hurd/sigmoid-neuron-translator
NOTE: This will only work on a running GNU/Hurd system!
       Use -a flag for automatic startup, -c for manual startup
LLM Sigmoid Neuron Translator - GNU Hurd
===========================================

Network: 3 layers, 10, 20, 5

Memory: 1.46 KB, Neurons: 35, Weights: 300

Parameters:
  Reset Potential: -80.00 mV
  Threshold: -55.00 mV
  Leak Rate: 0.10
  Refractory: 5 steps

Output:
  [0]: 0.000000
  [1]: 0.000000
  [2]: 0.000000
  [3]: 0.000000
  [4]: 0.000000

Statistics:
  Forward Passes: 0
  Neuron Activations: 0

Usage:
  cat /llm                    - Show info
  echo '10,20,5' > /llm      - Set topology
  echo '0.5,0.3,0.8' > /llm  - Set input
  echo reset > /llm         - Reset network state
  echo 'save /tmp/net.bin' > /llm  - Save network
  echo 'load /tmp/net.bin' > /llm  - Load network
claire@debian:~/neuron-translator$ 

hurd have a new neronal translator !

the code is here : https://github.com/gnu-ai/neuron-translator

kind regard,
and sorry but i don't know how share my GNU/Hurd work

claire

Reply via email to