aboutsummaryrefslogtreecommitdiff
path: root/examples/perplexity
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2023-03-25 20:51:14 +0200
committerGeorgi Gerganov <ggerganov@gmail.com>2023-03-25 20:51:14 +0200
commit03f7e335604b3d68f74995aa2ccb4955833ee423 (patch)
tree998ae5d82a197e4dc18846157d33bf660f913aac /examples/perplexity
parent55ad42af845127bd0eb0c1f36f327ecec83f4bca (diff)
Cleanup STL headers + fix embedding examples + minor stuff
Diffstat (limited to 'examples/perplexity')
-rw-r--r--examples/perplexity/perplexity.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/perplexity/perplexity.cpp b/examples/perplexity/perplexity.cpp
index f0266a0..f617ba3 100644
--- a/examples/perplexity/perplexity.cpp
+++ b/examples/perplexity/perplexity.cpp
@@ -1,14 +1,6 @@
#include "common.h"
#include "llama.h"
-#include <cassert>
-#include <cinttypes>
-#include <cmath>
-#include <cstdio>
-#include <cstring>
-#include <string>
-#include <vector>
-
std::vector<double> softmax(const std::vector<float>& logits) {
std::vector<double> probs(logits.size());
float max_logit = logits[0];