pbelcak / fastfeedforward Goto Github PK
View Code? Open in Web Editor NEWA repository for log-time feedforward networks
License: MIT License
A repository for log-time feedforward networks
License: MIT License
Hi ๏ผ
May I ask what's the parameter 'leaf width' mean? Looking forward for your reply!
Moved to pbelcak/UltraFastBERT#2
EDIT: Moved to pbelcak/UltraFastBERT#1
Hello,
thanks for publishing the code along with your paper. While reading your paper, I tried to run the demo notebook from this repository. I modified it slightly for colab to use the pip package instead of the local repository. However, I run into this issue:
ValueError Traceback (most recent call last)
<ipython-input-6-809883d6966a> in <cell line: 10>()
32 testing_accuracies = []
33 for batch_images, batch_labels in tqdm(dataloader_testing):
---> 34 output = model(batch_images.view(-1, 784))
35 loss = criterion(output, batch_labels)
36 accuracy = (output.argmax(dim=1) == batch_labels).detach().float().mean()
1 frames
/usr/local/lib/python3.10/dist-packages/fastfeedforward/fff.py in forward(self, x, return_entropies, use_hard_decisions)
332 raise ValueError("Cannot return entropies during evaluation.")
333 if not use_hard_decisions:
--> 334 raise ValueError("Cannot use soft decisions during evaluation.")
335 return self.eval_forward(x)
336
ValueError: Cannot use soft decisions during evaluation.
Here is the notebook to reproduce the error:
https://colab.research.google.com/drive/1apDlwbJPGMMoNodTOUx5m8Klnp8zE7T-?usp=sharing
The network's running speed in the eval state has dropped significantly. I don't know what's going on. There are no errors reported. During training, only 30 seconds were used for 1140 steps of iteration, while one step in the eval state took 1-2 seconds.
i took a FFF(40,40,2,4) at the end of my backbone net on cuda.
I'm working on a task, and your work is suits me very well, but it's too difficult to use,sad.
Arguably the most impactful paper released this year. Great work guys.
Please mention the corresponding Arxiv article link https://arxiv.org/abs/2308.14711 in the readme.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.