small look improvement
Some checks failed
studiorailgun/trpg/pipeline/head There was a failure building this commit

This commit is contained in:
austin 2025-01-05 14:42:18 -05:00
parent d03d8a7996
commit 668f73d0a7
6 changed files with 5 additions and 9 deletions

View File

@ -1,3 +0,0 @@
Hello
Hi
Howdy

View File

@ -1,3 +0,0 @@
self
i
I

View File

@ -37,7 +37,9 @@ public class Location {
* Describes the location * Describes the location
*/ */
public void describe(){ public void describe(){
System.out.println("A " + type); System.out.println("You are in a " + this.type);
System.out.println("There are " + chars.size() + " people in the " + this.type);
System.out.println("There are " + items.size() + " items in the " + this.type);
} }
/** /**

View File

@ -41,7 +41,7 @@ embedding_dim: int = 128
epochs: int = 50 epochs: int = 50
# Maximum size of the vocab for this layer # Maximum size of the vocab for this layer
max_tokens: int = 5000 max_tokens: int = 2000
# (Only valid in INT mode) If set, the output will have its time dimension padded or truncated to exactly output_sequence_length values # (Only valid in INT mode) If set, the output will have its time dimension padded or truncated to exactly output_sequence_length values
output_sequence_length: int = 4 output_sequence_length: int = 4
@ -128,7 +128,7 @@ model: Sequential = Sequential([
keras.Input(shape=(1,), dtype=tf.string), keras.Input(shape=(1,), dtype=tf.string),
textVec, textVec,
Embedding(max_features + 1, embedding_dim), Embedding(max_features + 1, embedding_dim),
Bidirectional(LSTM(256)), Bidirectional(LSTM(128)),
Dense(64, activation='relu'), Dense(64, activation='relu'),
Dense(num_classes, activation='sigmoid') Dense(num_classes, activation='sigmoid')
]) ])